aboutsummaryrefslogtreecommitdiff
path: root/imagecache_auto.inc
diff options
context:
space:
mode:
Diffstat (limited to 'imagecache_auto.inc')
-rw-r--r--imagecache_auto.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/imagecache_auto.inc b/imagecache_auto.inc
index 788b195..ef751a7 100644
--- a/imagecache_auto.inc
+++ b/imagecache_auto.inc
@@ -135,7 +135,7 @@ function imagecache_auto_presets() {
* Number of existing presets.
*/
function imagecache_auto_count_presets() {
- $query = 'SELECT COUNT(presetid) AS count FROM imagecache_preset';
+ $query = 'SELECT COUNT(presetid) AS count FROM {imagecache_preset}';
$result = db_query($query);
$count = db_fetch_object($result);
return $count->count;