fix argument check condition

This commit is contained in:
yggverse 2024-03-21 23:24:32 +02:00
parent cd88a971e7
commit 8651eb4d97

View File

@ -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