r79223 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79222‎ | r79223 | r79224 >
Date:01:33, 30 December 2010
Author:foxtrott
Status:deferred
Tags:
Comment:
Fix bug in r79159: Static callback functions need class name instead of an object at index 0.
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Utils.php
@@ -531,7 +531,7 @@
532532 while ( preg_match($pattern, $str, $matches) ) {
533533 $str = preg_replace($pattern, "$1" . "\1" . "$2", $str);
534534 }
535 - return array_map( array(self, 'convertBackToPipes'), explode('|', $str) );
 535+ return array_map( array('SFUtils', 'convertBackToPipes'), explode('|', $str) );
536536 }
537537
538538 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79159Added getFormTagComponents() (and a related helper function, convertBackToPip...yaron03:46, 29 December 2010

Status & tagging log