Sfoglia il codice sorgente

Fixed arguments setter (really now).

Taddeus Kroes 14 anni fa
parent
commit
2f4f7391c8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pquery.php

+ 1 - 1
pquery.php

@@ -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;
 	}