r59205 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59204‎ | r59205 | r59206 >
Date:19:09, 18 November 2009
Author:nimishg
Status:ok (Comments)
Tags:
Comment:
escaping using addQuotes
Modified paths:
  • /trunk/extensions/UsabilityInitiative/ClickTracking/ClickTracking.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/ClickTracking/ClickTracking.hooks.php
@@ -94,7 +94,7 @@
9595 'SUM(contribs)',
9696 array(
9797 'user_id' => $wgUser->getId(),
98 - "day >= '$time'"
 98+ "day >= " . $dbr->addQuotes($time)
9999 ),
100100 __METHOD__
101101 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r59230Merged r59205 from trunk ($dbr->addQuotes())tstarling00:23, 19 November 2009

Comments

#Comment by Nimish Gautam (talk | contribs)   22:11, 18 November 2009

quoted using dbr instead of manual quotes

Status & tagging log