Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding missing system special variable sanitization in components whe…

…n converting to an expression.
  • Loading branch information...
commit b9874843a73583cfc005eb6eba30a46232a1e2b7 1 parent 8684270
@zyxist zyxist authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Opt/Instruction/Component.php
2  lib/Opt/Instruction/Component.php
@@ -382,7 +382,7 @@ public function processSystemVar($opt)
throw new Opt_Instruction_Exception('Component error: invalid use of $'.implode('.',$opt).': no active component.');
list($variable, $format) = $this->_stack->top();
- $format->assign('name', $opt[2]);
+ $format->assign('name', '\''.$opt[2].'\'');
return $format->get('component:get');
} // end processSystemVar();
Please sign in to comment.
Something went wrong with that request. Please try again.