- fix checklastguid, ignore nogroup/nobody with very high guids (>65500)

This commit is contained in:
Michael Kaufmann (d00p)
2010-02-22 09:51:16 +00:00
parent e8de3d45e5
commit 66d5ea8f9e

View File

@@ -54,7 +54,17 @@ function checkLastGuid($froxlor_guid = 0)
foreach($group_guids as $idx => $group)
{
$guid = $group[2];
/**
* nogroup | nobody have very high guids
* ignore them
*/
if($group[0] == 'nogroup'
|| $group[0] == 'nobody'
) {
continue;
}
$guid = (int)$group[2];
if($guid > $froxlor_guid)
{