Commit 2f4f7391 authored by Taddeus Kroes's avatar Taddeus Kroes

Fixed arguments setter (really now).

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