Skip to content

Commit

Permalink
Sometimes the row count was not correct
Browse files Browse the repository at this point in the history
  • Loading branch information
lem9 committed Jun 24, 2012
1 parent f43760a commit 948f5c3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libraries/Menu.class.php
Expand Up @@ -238,12 +238,7 @@ private function _getTableTabs()
{
$db_is_information_schema = PMA_is_system_schema($this->_db);
$tbl_is_view = PMA_Table::isView($this->_db, $this->_table);

$table_status = PMA_Table::sGetStatusInfo($this->_db, $this->_table);
$table_info_num_rows = 0;
if (isset($table_status['Rows'])) {
$table_info_num_rows = $table_status['Rows'];
}
$table_info_num_rows = PMA_Table::countRecords($this->_db, $this->_table);

$tabs = array();

Expand Down

0 comments on commit 948f5c3

Please sign in to comment.