aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-11-19 15:46:49 +0000
committerpatdenice <patdenice@piwigo.org>2008-11-19 15:46:49 +0000
commit70e5f51d005002372b1c694e1c31684f4a64eeae (patch)
treeaabda5a7d49bb2f630a40efa3e4059e28031c45e /plugins/admin_advices
parente037bbe726d8819de81ee99e28e0e18aaddc38ca (diff)
merge -c2884 from trunk to branch 2.0.
- 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/branches/2.0@2885 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/admin_advices')
-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),