aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices/admin_advices.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-11-19 15:44:04 +0000
committerpatdenice <patdenice@piwigo.org>2008-11-19 15:44:04 +0000
commit509cfc5547071703510c6ba67c8f16cbb5a69ffe (patch)
treed2338a7c6df3f073e88a4c0aa8970f6fb5644214 /plugins/admin_advices/admin_advices.php
parent5ed2bf0458ed623ee9c4be18a2875d385d473c4c (diff)
- Replace some mysql_query by pwg_query function.
- Add home button after upgrade.php. - Add utf8 charset for access denied message. - Replace some #content by .content in css files. - Fix menubar blocks borders with IE. git-svn-id: http://piwigo.org/svn/trunk@2884 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/admin_advices/admin_advices.php')
-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),