From: Siebrand Mazeland Date: Thu, 14 Nov 2013 18:40:13 +0000 (+0100) Subject: Fix the fix: "? :" -> "?:" X-Git-Tag: 1.31.0-rc.0~18138^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=ac8ef3192368c48c3240aa1f6df2fb589441580a;p=lhc%2Fweb%2Fwiklou.git Fix the fix: "? :" -> "?:" Change-Id: Icdbb200faf2ee5c7c6a0095987f76a2bc1b4e5e7 --- diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 61577cb0cd..c301e9eb72 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -951,7 +951,7 @@ class ApiMain extends ApiBase { // Printer has not yet executed; don't warn that its parameters are unused $printerParams = array_map( array( $this->mPrinter, 'encodeParamName' ), - array_keys( $this->mPrinter->getFinalParams() ? : array() ) + array_keys( $this->mPrinter->getFinalParams() ?: array() ) ); $unusedParams = array_diff( $allParams, $paramsUsed, $printerParams ); } else {