summaryrefslogtreecommitdiff
path: root/core/helpers/graphics.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-27 21:07:18 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-27 21:07:18 +0000
commitbd15853708ae73ee69220738a061e10d015d7fb9 (patch)
treefacfbd5b08e3cbb8e7fa2b4adf433b54d4c0c5bc /core/helpers/graphics.php
parent0b9fe18a6bf4036a05db7f9479d7b55d3fe5c782 (diff)
This implements table prefix for all the queries in core, user, exif,
tag, search, comment and notification modules (Ticket #68)
Diffstat (limited to 'core/helpers/graphics.php')
-rw-r--r--core/helpers/graphics.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php
index d30701a0..5c3480c9 100644
--- a/core/helpers/graphics.php
+++ b/core/helpers/graphics.php
@@ -223,7 +223,7 @@ class graphics_Core {
*/
static function find_dirty_images_query() {
return Database::instance()->query(
- "SELECT `id` FROM `items` " .
+ "SELECT `id` FROM `[items]` " .
"WHERE (`thumb_dirty` = 1 AND (`type` <> 'album' OR `album_cover_item_id` IS NOT NULL))" .
" OR (`resize_dirty` = 1 AND `type` = 'photo')");
}