From 83b704f0b12f1af76fcbe02a61bcf229776dd305 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 9 Oct 2013 06:18:05 -0400 Subject: [PATCH] Fix coding style --- libraries/Table.class.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libraries/Table.class.php b/libraries/Table.class.php index 13a1ea3d61..841129fac8 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -1550,7 +1550,11 @@ class PMA_Table $avail_columns = $this->getColumns(); foreach ($avail_columns as $each_col) { // check if $each_col ends with $colname - if (substr_compare($each_col, $colname, strlen($each_col) - strlen($colname)) === 0) { + if (substr_compare( + $each_col, + $colname, + strlen($each_col) - strlen($colname) + ) === 0) { return $this->uiprefs[$property]; } } @@ -1567,7 +1571,10 @@ class PMA_Table && isset($this->uiprefs[$property]) ) { // check if the table has not been modified - if (self::sGetStatusInfo($this->db_name, $this->name, 'Create_time') == $this->uiprefs['CREATE_TIME']) { + if (self::sGetStatusInfo( + $this->db_name, + $this->name, 'Create_time' + ) == $this->uiprefs['CREATE_TIME']) { return $this->uiprefs[$property]; } else { // remove the property, since the table has been modified