mirror of
https://github.com/YGGverse/Yo.git
synced 2025-02-05 11:24:20 +00:00
fix argument check condition
This commit is contained in:
parent
cd88a971e7
commit
8651eb4d97
@ -11,7 +11,7 @@ $config = json_decode(
|
||||
);
|
||||
|
||||
// Validate request
|
||||
if (empty($argv[1]))
|
||||
if (!isset($argv[1]))
|
||||
{
|
||||
exit(
|
||||
_('search query required as the first argument!') . PHP_EOL
|
||||
|
Loading…
x
Reference in New Issue
Block a user