Permalink
Browse files

register echo component action list a bit later in stack

  • Loading branch information...
1 parent ca1d1f9 commit 8b970864d79261acead8f5a723cc61061a5334d3 @MrMaz MrMaz committed Jun 14, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 engine/ICE/ext/features/echo/class.php
@@ -47,6 +47,15 @@ protected function init()
// run parent init method
parent::init();
+ // register actions as late as possible (this may need to be tweaked later)
+ add_action( 'init', array($this,'register_actions') );
+ }
+
+ /**
+ * Register all configured actions
+ */
+ public function register_actions()
+ {
// call template class method to get action list
$this->__actions__ = $this->get_action_list();

0 comments on commit 8b97086

Please sign in to comment.