Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing the code generation for attribute component parameters.

  • Loading branch information...
commit fe76f35974d6e67e5d37eb5675cdeb3cd15c1c7a 1 parent eb57fbd
@zyxist zyxist authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Opt/Instruction/Component.php
View
4 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)
Please sign in to comment.
Something went wrong with that request. Please try again.