@@ -4,7 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | $cpl = new \Detain\Cpanel\Cpanel($_SERVER['argv'][1], $_SERVER['argv'][2]); |
| 6 | 6 | $cpl->format = 'json'; |
| 7 | -$licenses = json_decode($cpl->fetchLicenses(), true); |
|
| 7 | +$licenses = json_decode($cpl->fetchLicenses(), TRUE); |
|
| 8 | 8 | echo json_encode($licenses, JSON_PRETTY_PRINT); |
| 9 | 9 | /* |
| 10 | 10 | foreach ( $licenses->licenses as $lisc ) { |