Changeset 2836

Show
Ignore:
Timestamp:
11/21/08 05:12:05 (7 weeks ago)
Author:
MattRead
Message:

use array_merge_recursive so we don't overwrite current hooks

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/classes/pluggable.php

    r2835 r2836  
    9999        // get the aliases. 
    100100        if ( method_exists( $this, 'alias' ) ) { 
    101             $methods = array_merge( $methods, $this->alias() ); 
     101            $methods = array_merge_recursive( $methods, $this->alias() ); 
    102102        } 
    103103        // loop over all the methods in this class