X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=includes%2FWebResponse.php;h=45cc7df7a60fb596c802850fd6852b61801bdcdc;hb=72304b95297e8cb4b2627d947ae5440c667ac879;hp=9396a41a7669adec303696bc31f1859c281262a6;hpb=58c35490abc1f5aa04d447c28cdecd48b2667eaf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebResponse.php b/includes/WebResponse.php index 9396a41a76..45cc7df7a6 100644 --- a/includes/WebResponse.php +++ b/includes/WebResponse.php @@ -205,7 +205,7 @@ class WebResponse { wfDebugLog( 'cookie', 'already set ' . $func . ': "' . implode( '", "', $data ) . '"' ); } else { wfDebugLog( 'cookie', $func . ': "' . implode( '", "', $data ) . '"' ); - if ( call_user_func_array( $func, array_values( $data ) ) ) { + if ( $func( ...array_values( $data ) ) ) { self::$setCookies[$key] = $deleting ? null : [ $func, $data ]; } }