bug 1042: fixup... int() is not a function
authorFelix Dörre <felix@dogcraft.de>
Sat, 6 Jun 2015 16:35:35 +0000 (18:35 +0200)
committerFelix Dörre <felix@dogcraft.de>
Sat, 6 Jun 2015 16:35:35 +0000 (18:35 +0200)
includes/lib/general.php

index 26d0a42..3f7cf54 100644 (file)
@@ -146,7 +146,7 @@ function runCommand($command, $input = "", &$output = null, &$errors = true) {
                        $Result |= 5;
                }
 
-               if (get_received_assurance_points(int($userID)) < 100) {
+               if (get_received_assurance_points(intval($userID)) < 100) {
                        $Result |= 3;
                }