eee
This commit is contained in:
+5
-1
@@ -81,7 +81,11 @@ class Command extends Component
|
|||||||
*/
|
*/
|
||||||
public function exists(): bool
|
public function exists(): bool
|
||||||
{
|
{
|
||||||
return count($this->search('fetch')) > 0;
|
$data = $this->search('fetch');
|
||||||
|
if (!$data) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user