Skip to content
This repository
Browse code

Small cleanup.

  • Loading branch information...
commit 282270109d43b3cdf5dd53092f221bd39fd993d7 1 parent fca8199
Tomasz Jędrzejewski authored October 09, 2010

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  lib/Opt/Expression/Standard.php
3  lib/Opt/Expression/Standard.php
@@ -447,7 +447,7 @@ public function _compileVariable(array $variable, $type, $weight, $context = 0,
447 447
 					// Check if any section with the specified name exists.
448 448
 					$sectionName = $this->_compiler->convert($item);
449 449
 
450  
-					if(($section = $proc->getSection($sectionName)) !== null)
  450
+					if(($section = Opt_Instruction_Section_Abstract::getSection($sectionName)) !== null)
451 451
 					{
452 452
 						$path = $sectionName;
453 453
 						$state['section'] = $section;
@@ -458,7 +458,6 @@ public function _compileVariable(array $variable, $type, $weight, $context = 0,
458 458
 							$hook = 'section:item'.$this->_dfCalls[$context];
459 459
 							if(!$section['format']->property($hook))
460 460
 							{
461  
-								var_dump($hook);
462 461
 								throw new Opt_Format_Exception('The operation '.$hook.' is not supported by format '.$section['format']->getName());
463 462
 							}
464 463
 							$section['format']->assign('value', $contextInfo[0]);

0 notes on commit 2822701

Please sign in to comment.
Something went wrong with that request. Please try again.