aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-10-16 12:00:11 +0000
committerplegall <plg@piwigo.org>2014-10-16 12:00:11 +0000
commit41043cbf0dc3f831d159a4c4283605c140230348 (patch)
tree081ddce1b911769abbe7d48dd6b1be70c7727069 /admin/include
parenta599995dc0171357ff10acb4a9480bb4e2134123 (diff)
bug 3162: because string(5) "35.10" == string(4) "35.1", we have to use === instead (or !==)
git-svn-id: http://piwigo.org/svn/trunk@30106 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,