r45579 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45578‎ | r45579 | r45580 >
Date:20:15, 8 January 2009
Author:yaron
Status:deferred
Tags:
Comment:
Removed unnecessary escaping of apostrophes in getAllPagesForCategory()
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Utils.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Utils.inc
@@ -264,7 +264,7 @@
265265 } else {
266266 $cur_value = str_replace("_", " ", $row['page_title']);
267267 if ($substring == null)
268 - $pages[] = str_replace("'", "\'", $cur_value);
 268+ $pages[] = $cur_value;
269269 else
270270 $pages[] = array('title' => $cur_value);
271271 // return if we've reached the maximum number of allowed values

Status & tagging log