diff --git a/php/examples/DownloadLineItems.php b/php/examples/DownloadLineItems.php index 98722e3..183ff4e 100755 --- a/php/examples/DownloadLineItems.php +++ b/php/examples/DownloadLineItems.php @@ -55,7 +55,7 @@ public function run() { return; } - if (!isset($result['lineItems']) || count($result['lineItems']) < 1) { + if (empty($result['lineItems'])) { print '

No items found

'; return; } else {