summaryrefslogtreecommitdiff
path: root/core/helpers/graphics.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-28 06:37:28 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-28 06:37:28 +0000
commitc04ff8e02f01691dc2e325efc523e43f3aebaf95 (patch)
tree8fbdfe90c1bb04b9b8b74500904c09f126430e19 /core/helpers/graphics.php
parentad56995bafffeca89c44b07cb4f25da7b36a1a99 (diff)
Change the pattern to identify tables that need prefix substitution to
mirror the drupal pattern of using braces {}.
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 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')");
}