Browse Source

fix argument check condition

main
yggverse 9 months ago
parent
commit
8651eb4d97
  1. 2
      src/cli/document/search.php

2
src/cli/document/search.php

@ -11,7 +11,7 @@ $config = json_decode(
); );
// Validate request // Validate request
if (empty($argv[1])) if (!isset($argv[1]))
{ {
exit( exit(
_('search query required as the first argument!') . PHP_EOL _('search query required as the first argument!') . PHP_EOL

Loading…
Cancel
Save