From: Kunal Mehta Date: Wed, 23 Sep 2015 20:29:30 +0000 (-0700) Subject: OOUIHTMLForm: s/else if/elseif/ X-Git-Tag: 1.31.0-rc.0~9882^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=71c67c48f3790d9152a94b5cdfe13ff236823c65;p=lhc%2Fweb%2Fwiklou.git OOUIHTMLForm: s/else if/elseif/ Spotted by phpcs. Change-Id: I1a0b7a08a17849b270a262063744198d81d36de1 --- diff --git a/includes/htmlform/OOUIHTMLForm.php b/includes/htmlform/OOUIHTMLForm.php index 84d40a14c8..f8aa0ac339 100644 --- a/includes/htmlform/OOUIHTMLForm.php +++ b/includes/htmlform/OOUIHTMLForm.php @@ -133,7 +133,7 @@ class OOUIHTMLForm extends HTMLForm { function getErrors( $err ) { if ( !$err ) { $errors = array(); - } else if ( $err instanceof Status ) { + } elseif ( $err instanceof Status ) { if ( $err->isOK() ) { $errors = array(); } else {