From 2dbee49b94df5ad737c9d32a5a2ead44e247481c Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 26 Sep 2015 22:38:25 +0200 Subject: [PATCH] Add curly braces to if statement Change-Id: I827eb48ee030c338336d91dbfd016c22c5e3cb6b --- includes/htmlform/HTMLButtonField.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } -- 2.20.1