aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-10-16 11:56:54 +0000
committerplegall <plg@piwigo.org>2014-10-16 11:56:54 +0000
commita599995dc0171357ff10acb4a9480bb4e2134123 (patch)
tree587269608efc405b0f675a8ba39ead9115c7355d /admin/include
parent639474d3b604010db17df0f0f47f1c6b1ba8bbef (diff)
merge back r30104 (bad commit log, wrong copy/paste)
git-svn-id: http://piwigo.org/svn/trunk@30105 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 7d29f5734..1ad514a13 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -614,7 +614,9 @@ SELECT id, id_uppercat, uppercats, rank, global_rank
str_replace(',', '.', $cat['uppercats'] )
);
- if ($cat['rank_changed'] or $new_global_rank !== $cat['global_rank'])
+ if ( $cat['rank_changed']
+ or $new_global_rank!=$cat['global_rank']
+ )
{
$datas[] = array(
'id' => $id,