aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-10-16 12:00:54 +0000
committerplegall <plg@piwigo.org>2014-10-16 12:00:54 +0000
commit1d674e59559785b273e29d242aefe4010e0f99ed (patch)
treedd50e62eff424ffe704ac264b8376093d1dcfed5 /admin/include/functions.php
parent80a8bdcb8b16a58ee775c9ab1b0e929e03d7e59e (diff)
merge r30106 from trunk to branch 2.7
bug 3162: because string(5) "35.10" == string(4) "35.1", we have to use === instead (or !==) git-svn-id: http://piwigo.org/svn/branches/2.7@30107 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/functions.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 1ad514a13..7d29f5734 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -614,9 +614,7 @@ 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,