From a8c5166ed2db1570df6ca5a5240a24a1100c88fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Burnichon?= Date: Mon, 9 Mar 2015 22:39:53 +0100 Subject: [PATCH] Missing app remove in databox_status --- lib/classes/databox/status.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/classes/databox/status.php b/lib/classes/databox/status.php index c2f9e8ef3a..26bd2674ac 100644 --- a/lib/classes/databox/status.php +++ b/lib/classes/databox/status.php @@ -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));