From 832437584136ddc06242ed9c97c27a0019322d27 Mon Sep 17 00:00:00 2001 From: Bjverde Date: Wed, 8 Jun 2022 17:01:58 -0300 Subject: [PATCH] :abc: formatando --- base/classes/webform/TGrid.class.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/base/classes/webform/TGrid.class.php b/base/classes/webform/TGrid.class.php index ee9d3fd3..a3c46124 100644 --- a/base/classes/webform/TGrid.class.php +++ b/base/classes/webform/TGrid.class.php @@ -2000,14 +2000,13 @@ public function addNumberColumn( $strName, $strTitle = null, $strFieldName = nul * @return TGridCheckColumn */ public function addCheckColumn( string $strName - , string $strTitle = null - , $strKeyField - , $strDescField = null - , $boolReadOnly = null - , $boolAllowCheckAll = null ) + , string $strTitle = null + , $strKeyField + , $strDescField = null + , $boolReadOnly = null + , $boolAllowCheckAll = null ) { - if ( !$strKeyField ) - { + if ( !$strKeyField ){ $strKeyField = strtoupper( $strName ); } $col = new TGridCheckColumn( $strName, $strTitle, $strKeyField, $strDescField, $boolReadOnly, $boolAllowCheckAll );