includes/plugins.php
changeset 379 82b991bee797
parent 378 c1c7fa6b329f
child 387 92664d2efab8
equal deleted inserted replaced
378:c1c7fa6b329f 379:82b991bee797
    78     if(sizeof($r) > 0) return $r;
    78     if(sizeof($r) > 0) return $r;
    79     else return false;
    79     else return false;
    80     */
    80     */
    81     if(isset($this->hook_list[$name]) && is_array($this->hook_list[$name]))
    81     if(isset($this->hook_list[$name]) && is_array($this->hook_list[$name]))
    82     {
    82     {
    83       return $this->hook_list[$name];
    83       return array(implode("\n", $this->hook_list[$name]));
    84     }
    84     }
    85     else
    85     else
    86     {
    86     {
    87       return Array();
    87       return Array();
    88     }
    88     }