Open slorcadelgado opened 5 years ago
to fix this in "zkuser.php" change line 108:
$role = hexdec( substr($u[1], 4, 4) ).' ';
to:
$role = hexdec( substr($u[1], 6, 2) ).' ';
and "zktest.php" change lines 70-72:
if ($userdata[2] == LEVEL_ADMIN) $role = 'ADMIN'; elseif ($userdata[2] == LEVEL_USER)
if ($userdata[4] == LEVEL_ADMIN) $role = 'ADMIN'; elseif ($userdata[4] == LEVEL_USER)
zk-attend.zip
Change
if ($userdata[1] == LEVEL_ADMIN)
to fix this in "zkuser.php" change line 108:
$role = hexdec( substr($u[1], 4, 4) ).' ';
to:
$role = hexdec( substr($u[1], 6, 2) ).' ';
and "zktest.php" change lines 70-72:
to:
zk-attend.zip