diff --git a/module/misc/model.php b/module/misc/model.php index ec1e10c213..7372f15931 100644 --- a/module/misc/model.php +++ b/module/misc/model.php @@ -20,8 +20,8 @@ class miscModel extends model /** * Get table and status. - * - * @param string $type + * + * @param string $type * @access public * @return array|false */ @@ -30,13 +30,13 @@ class miscModel extends model if($type != 'check' and $type != 'repair') return false; $tables = array(); $stmt = $this->dao->query("show full tables"); - while($table = $stmt->fetch(PDO::FETCH_ASSOC)) + while($table = $stmt->fetch(PDO::FETCH_ASSOC)) { $tableName = $table["Tables_in_{$this->config->db->name}"]; $tableType = strtolower($table['Table_type']); if($tableType == 'base table') { - $tableStatus = $this->dao->query("$type table $tableName")->fetch(); + $tableStatus = $this->dao->query("$type table $tableName")->fetch(); $tables[$tableName] = strtolower($tableStatus->Msg_text); } }