mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-09 18:06:54 +01:00
* [FIX] Fixed wrong behavior under testing environment
This commit is contained in:
@@ -171,7 +171,11 @@ final class ApiService extends Service
|
||||
*/
|
||||
public function getHelp($action)
|
||||
{
|
||||
return call_user_func([$this->helpClass, 'getHelpFor'], $action);
|
||||
if ($this->helpClass !== null) {
|
||||
return call_user_func([$this->helpClass, 'getHelpFor'], $action);
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user