X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FgetConfiguration.php;h=d5f683466952074225e9133d278ef735e5d35dd0;hb=44745a63cee559b72dfd5ac17de38c60ab97e50e;hp=1db53f30c9da886dd52b64a8b3fd79389f737421;hpb=166191535f486569277e95b7e6a3850b5db6757d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/getConfiguration.php b/maintenance/getConfiguration.php index 1db53f30c9..d5f6834669 100644 --- a/maintenance/getConfiguration.php +++ b/maintenance/getConfiguration.php @@ -87,7 +87,7 @@ class GetConfiguration extends Maintenance { public function finalSetup() { parent::finalSetup(); - $this->regex = $this->getOption( 'regex' ) ? : $this->getOption( 'iregex' ); + $this->regex = $this->getOption( 'regex' ) ?: $this->getOption( 'iregex' ); if ( $this->regex ) { $this->regex = '/' . $this->regex . '/'; if ( $this->hasOption( 'iregex' ) ) {