From: umherirrender Date: Sat, 26 Sep 2015 20:38:25 +0000 (+0200) Subject: Add curly braces to if statement X-Git-Tag: 1.31.0-rc.0~9773 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=2dbee49b94df5ad737c9d32a5a2ead44e247481c;p=lhc%2Fweb%2Fwiklou.git Add curly braces to if statement Change-Id: I827eb48ee030c338336d91dbfd016c22c5e3cb6b --- diff --git a/includes/htmlform/HTMLButtonField.php b/includes/htmlform/HTMLButtonField.php index 56a23ad20b..ea67702229 100644 --- a/includes/htmlform/HTMLButtonField.php +++ b/includes/htmlform/HTMLButtonField.php @@ -15,8 +15,9 @@ class HTMLButtonField extends HTMLFormField { public function __construct( $info ) { $info['nodata'] = true; - if ( isset( $info['flags'] ) ) + if ( isset( $info['flags'] ) ) { $this->mFlags = $info['flags']; + } parent::__construct( $info ); }