Permalink
Browse files

component:done hook calling added for defined components.

  • Loading branch information...
1 parent 3c0d286 commit 5f146a6bdd27fbfca6721ed4460976b290c784e0 @zyxist zyxist committed Oct 30, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Opt/Instruction/Component.php
@@ -256,6 +256,7 @@ public function processComponent(Opt_Xml_Element $node)
$mainCode .= $this->_commonProcessing($node, $cn, $params, $vars, $format).$format->get('component:done');
$node->addAfter(Opt_Xml_Buffer::TAG_BEFORE, $mainCode);
+ $node->addBefore(Opt_Xml_Buffer::TAG_AFTER, $format->get('component:done'));
} // end processComponent();
/**

0 comments on commit 5f146a6

Please sign in to comment.