Index: trunk/extensions/UsabilityInitiative/ClickTracking/ClickTracking.hooks.php |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | 'SUM(contribs)', |
96 | 96 | array( |
97 | 97 | 'user_id' => $wgUser->getId(), |
98 | | - "day >= '$time'" |
| 98 | + "day >= " . $dbr->addQuotes($time) |
99 | 99 | ), |
100 | 100 | __METHOD__ |
101 | 101 | ); |