Permalink
Browse files

BUG FIX: tables and columns now quoted properly

  • Loading branch information...
geoff-silverstripe committed Mar 8, 2010
1 parent f495e14 commit c585dd67fb6ef194b6c67134ce22473e06408154
Showing with 2 additions and 2 deletions.
  1. +1 −1 code/CrawlerStats.php
  2. +1 −1 code/GoogleAnalytics.php
@@ -78,7 +78,7 @@ public function printCrawls($since) {
* if the page has never been crawled, a new object is created
*/
public static function GetFor($page) {
$try = DataObject::get_one("CrawlerStats","Page = '$page'");
$try = DataObject::get_one("CrawlerStats","\"Page\" = '$page'");
if($try)
return $try;
@@ -18,7 +18,7 @@ static function getIndexStatus() {
else
$page = "unknown";
$indexResults = DataObject::get_one("CrawlerStats","Page = '$page'");
$indexResults = DataObject::get_one("CrawlerStats","\"Page\" = '$page'");
$lastVersion = strtotime("now");

0 comments on commit c585dd6

Please sign in to comment.