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

Fixed arguments setter.

parent 8184990d
...@@ -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 = $args;
$obj->set_variable(array_shift($args)); $obj->set_variable(array_shift($args));
$obj->arguments = $args;
return $obj; return $obj;
} }
...@@ -306,11 +306,9 @@ class pQueryException extends Exception { ...@@ -306,11 +306,9 @@ class pQueryException extends Exception {
*/ */
interface pQueryExtension { interface pQueryExtension {
/** /**
* Constructor.
* *
* @param mixed $variable The variable to use an utility on.
*/ */
//function __construct();
} }
/** /**
......
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