From bd15853708ae73ee69220738a061e10d015d7fb9 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 27 Feb 2009 21:07:18 +0000 Subject: This implements table prefix for all the queries in core, user, exif, tag, search, comment and notification modules (Ticket #68) --- core/helpers/graphics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers/graphics.php') 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')"); } -- cgit v1.2.3