Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing bug #169
  • Loading branch information
zyxist committed Aug 31, 2010
1 parent 7da4022 commit 6ad3808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Opt/Instruction/Include.php
Expand Up @@ -108,11 +108,11 @@ public function processNode(Opt_Xml_Node $node)
{
if(isset($params['file']))
{
$codeBegin .= $view.'->_data = $this->_data; ';
$codeBegin .= $view.'->_data = $this->_data; '.$view.'->_formatInfo = $this->_formatInfo; ';
}
else
{
$codeBegin .= $view.'->_data = array_merge('.$view.'->_data, $this->_data); ';
$codeBegin .= $view.'->_data = array_merge('.$view.'->_data, $this->_data); '.$view.'->_formatInfo = array_merge('.$view.'->_formatInfo, $this->_formatInfo); ';
}
}
foreach($vars as $name => $value)
Expand Down

0 comments on commit 6ad3808

Please sign in to comment.