Prechádzať zdrojové kódy

Removed deprecated call-by-reference operator.

Taddeus Kroes 13 rokov pred
rodič
commit
c0ec3f3b76
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      pquery.array.php

+ 1 - 1
pquery.array.php

@@ -63,7 +63,7 @@ class pQueryArray extends pQuery {
 		$function = 'array_'.$method;
 		
 		if( function_exists($function) ) {
-			array_unshift($args, &$this->variable);
+			array_unshift($args, $this->variable);
 			
 			return call_user_func_array($function, $args);
 		}