summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/l10n_scanner.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-26 12:09:04 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-26 12:09:04 -0800
commit1fd0e14359a7c7164573e4aa897c07680339e713 (patch)
tree62b01b88571e53810aa7f3efc2f0f01e727904e2 /modules/gallery/helpers/l10n_scanner.php
parent22823df22098ed1a69d88c2e5fdc30cd90f72c30 (diff)
Convert all DB where() calls to take 3 arguments.
Convert all open_paren() calls to and_open() or or_open() as appropriate.
Diffstat (limited to 'modules/gallery/helpers/l10n_scanner.php')
-rw-r--r--modules/gallery/helpers/l10n_scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/l10n_scanner.php b/modules/gallery/helpers/l10n_scanner.php
index 6c09a686..a7ce2c59 100644
--- a/modules/gallery/helpers/l10n_scanner.php
+++ b/modules/gallery/helpers/l10n_scanner.php
@@ -31,7 +31,7 @@ class l10n_scanner_Core {
foreach (Database::instance()
->select("key")
->from("incoming_translations")
- ->where("locale", "root")
+ ->where("locale", "=", "root")
->get() as $row) {
$cache[$row->key] = true;
}