Completed
Push — master ( b4cd43...ffc9c9 )
by Joe
06:11 queued 18s
created
bin/expire_license.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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";
Please login to merge, or discard this patch.