aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices/admin_advices.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/admin_advices/admin_advices.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/admin_advices/admin_advices.php b/plugins/admin_advices/admin_advices.php
index ee2a3e797..0071f5f92 100644
--- a/plugins/admin_advices/admin_advices.php
+++ b/plugins/admin_advices/admin_advices.php
@@ -157,7 +157,7 @@ LIMIT 0, 1
SELECT * FROM '.IMAGE_TAG_TABLE.'
WHERE image_id = ' . $row['id'] .'
;';
- $tag_count = mysql_num_rows(mysql_query($query));
+ $tag_count = mysql_num_rows(pwg_query($query));
$template->assign('thumbnail',
array(
'IMAGE' => get_thumbnail_url($row),