Permalink
Browse files

bug 3162: because string(5) "35.10" == string(4) "35.1", we have to u…

…se === instead (or !==)

git-svn-id: http://piwigo.org/svn/trunk@30106 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
plegall committed Oct 16, 2014
1 parent a599995 commit 41043cbf0dc3f831d159a4c4283605c140230348
Showing with 1 addition and 3 deletions.
  1. +1 −3 admin/include/functions.php
@@ -614,9 +614,7 @@ function update_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,

0 comments on commit 41043cb

Please sign in to comment.