Development

Changeset 9496

You must first sign up to be able to contribute.

Changeset 9496

Show
Ignore:
Timestamp:
06/09/08 16:00:32 (2 years ago)
Author:
hartym
Message:

Fix problem with components contextual vars. A contextual variable sent via include_component/get_component overrided in myComponents::executeXxx() method was keeping original value instead of overriden one. New behavior is like sf1.0

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/view/sfPartialView.class.php

    r9313 r9496  
    3535  { 
    3636    $this->partialVars = $partialVars; 
     37    $this->getAttributeHolder()->add($partialVars); 
    3738  } 
    3839 
     
    8485    } 
    8586 
    86     $this->getAttributeHolder()->add($this->partialVars); 
    87  
    8887    // execute pre-render check 
    8988    $this->preRenderCheck(); 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.