mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
fix argument check condition
This commit is contained in:
parent
cd88a971e7
commit
8651eb4d97
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue