r23420 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23419‎ | r23420 | r23421 >
Date:14:52, 26 June 2007
Author:tstarling
Status:old
Tags:
Comment:
Fixed incorrect error message for static member functions
Modified paths:
  • /trunk/phase3/includes/Hooks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Hooks.php
@@ -124,7 +124,7 @@
125125 if( is_object( $callback[0] ) ) {
126126 $prettyClass = get_class( $callback[0] );
127127 } else {
128 - $prettyClass = strval( $callback[1] );
 128+ $prettyClass = strval( $callback[0] );
129129 }
130130 $prettyFunc = $prettyClass . '::' . strval( $callback[1] );
131131 } else {

Follow-up revisions

RevisionCommit summaryAuthorDate
r23581Merged revisions 23406-23580 via svnmerge from...david04:50, 30 June 2007

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r23133* Throw a showstopper exception when a hook function fails to return a value....brion19:35, 20 June 2007

Status & tagging log