Skip to content
Snippets Groups Projects
Commit 2f4f7391 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Fixed arguments setter (really now).

parent 2ac54365
No related branches found
No related tags found
No related merge requests found
......@@ -216,8 +216,8 @@ class pQuery {
return self::error('Plugin "%s" does not exist.', $plugin);
$obj = new $class_name();
$obj->arguments = array_slice($args, 1);
$obj->set_variable(array_shift($args));
$obj->arguments = $args;
return $obj;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment