r32849 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32848‎ | r32849 | r32850 >
Date:13:01, 6 April 2008
Author:greg
Status:old
Tags:
Comment:
Use single quote, not double, inside SQL statement.
Modified paths:
  • /trunk/extensions/Oversight/HideRevision_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Oversight/HideRevision_body.php
@@ -113,7 +113,7 @@
114114 $result = $dbr->select(
115115 array( 'page', 'revision' ),
116116 '*, 0 AS rc_id, 1 AS rc_patrolled, 0 AS counter, 0 AS rc_old_len, 0 AS rc_new_len,
117 - NULL AS rc_log_action, 0 AS rc_deleted, 0 AS rc_logid, NULL AS rc_log_type, "" AS rc_params',
 117+ NULL AS rc_log_action, 0 AS rc_deleted, 0 AS rc_logid, NULL AS rc_log_type, \'\' AS rc_params',
118118 array(
119119 'rev_id' => $this->mRevisions,
120120 'rev_page=page_id',

Status & tagging log