@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | |
5 | 5 | $ipAddress = $_SERVER['argv'][3]; |
6 | 6 | $cpl->format = 'json'; |
7 | -$lisc = json_decode($cpl->fetchLicenseId(['ip' => $ipAddress]), true); |
|
7 | +$lisc = json_decode($cpl->fetchLicenseId(['ip' => $ipAddress]), TRUE); |
|
8 | 8 | print_r($lisc); |
9 | 9 | $liscid = $lisc['licenseid'][0]; |
10 | 10 | |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | reason => 'Automagic Expiration', |
16 | 16 | expcode => 'normal' |
17 | 17 | ] |
18 | - ), true); |
|
18 | + ), TRUE); |
|
19 | 19 | print $expire['result'].PHP_EOL; |
20 | 20 | } else { |
21 | 21 | print "There is no valid license for $ipAddress\n"; |