From c04ff8e02f01691dc2e325efc523e43f3aebaf95 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 28 Feb 2009 06:37:28 +0000 Subject: Change the pattern to identify tables that need prefix substitution to mirror the drupal pattern of using braces {}. --- 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 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')"); } -- cgit v1.2.3