mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Missing app remove in databox_status
This commit is contained in:
@@ -152,10 +152,10 @@ class databox_status
|
||||
public static function operation_and($stat1, $stat2)
|
||||
{
|
||||
if (substr($stat1, 0, 2) === '0x') {
|
||||
$stat1 = self::hex2bin($app, substr($stat1, 2));
|
||||
$stat1 = self::hex2bin(substr($stat1, 2));
|
||||
}
|
||||
if (substr($stat2, 0, 2) === '0x') {
|
||||
$stat2 = self::hex2bin($app, substr($stat2, 2));
|
||||
$stat2 = self::hex2bin(substr($stat2, 2));
|
||||
}
|
||||
|
||||
return dechex(hexdec($stat1) & hexdec($stat2));
|
||||
|
Reference in New Issue
Block a user