Index: trunk/phase3/includes/Hooks.php |
— | — | @@ -124,7 +124,7 @@ |
125 | 125 | if( is_object( $callback[0] ) ) { |
126 | 126 | $prettyClass = get_class( $callback[0] ); |
127 | 127 | } else { |
128 | | - $prettyClass = strval( $callback[1] ); |
| 128 | + $prettyClass = strval( $callback[0] ); |
129 | 129 | } |
130 | 130 | $prettyFunc = $prettyClass . '::' . strval( $callback[1] ); |
131 | 131 | } else { |