mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Fix set API
This commit is contained in:
parent
f45c72f577
commit
26c68a9960
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class API extends PluginAbstract {
|
|||
$user = new User("", $parameters['user'], $parameters['password']);
|
||||
$user->login(false, @$parameters['encodedPass']);
|
||||
}
|
||||
|
||||
$APIName = $parameters['APIName'];
|
||||
if (method_exists($this, "set_api_$APIName")) {
|
||||
$str = "\$object = \$this->set_api_$APIName(\$parameters);";
|
||||
eval($str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue