diff options
Diffstat (limited to 'core/helpers/graphics.php')
-rw-r--r-- | core/helpers/graphics.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php index 5c3480c9..3d0c405d 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')"); } |