Ver Fonte

Not that it matters much but since theres only 1 param to pass, theres no need to use call_func_array()

Signed-off-by: Suki <[email protected]>
Suki há 10 anos atrás
pai
commit
e263db4d02
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Sources/Profile.php

+ 1 - 1
Sources/Profile.php

@@ -738,7 +738,7 @@ function ModifyProfile($post_errors = array())
 
 	// Is it valid?
 	if (is_callable($call))
-		call_user_func_array($call, array($memID));
+		call_user_func($call, $memID);
 
 	// Set the page title if it's not already set...
 	if (!isset($context['page_title']))