From 1d674e59559785b273e29d242aefe4010e0f99ed Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 16 Oct 2014 12:00:54 +0000 Subject: 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 --- admin/include/functions.php | 4 +--- 1 file changed, 1 insertion(+), 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, -- cgit v1.2.3