Permalink
Browse files

Fixing the code generation for attribute component parameters.

  • Loading branch information...
1 parent eb57fbd commit fe76f35974d6e67e5d37eb5675cdeb3cd15c1c7a @zyxist zyxist committed Nov 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Opt/Instruction/Component.php
@@ -336,9 +336,9 @@ private function _commonProcessing(Opt_Xml_Element $node, $componentVariable, ar
}
foreach($args as $name => $value)
{
- $format->assign('name', $name);
+ $format->assign('name', '\''.$name.'\'');
$format->assign('value', $value);
- $code .= $format->get('component:set');
+ $code .= $format->get('component:set').';';
}
// opt:component-attributes
foreach($everything[1] as $wtf)

0 comments on commit fe76f35

Please sign in to comment.