[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_3_8-10721-g101fd96

The branch, master has been updated via 101fd962000904bbf2c54a56e08f5b1853c47ec9 (commit) from 829e482ed14193848b181bb06f35cc77c0597b31 (commit) - Log ----------------------------------------------------------------- commit 101fd962000904bbf2c54a56e08f5b1853c47ec9 Author: Michal Čihař <michal@cihar.com> Date: Mon Nov 1 14:41:40 2010 +0100 Fix error handling when no tables are found. ----------------------------------------------------------------------- Summary of changes: libraries/schema/Export_Relation_Schema.class.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/schema/Export_Relation_Schema.class.php b/libraries/schema/Export_Relation_Schema.class.php index 78f11dd..541574f 100644 --- a/libraries/schema/Export_Relation_Schema.class.php +++ b/libraries/schema/Export_Relation_Schema.class.php @@ -103,7 +103,7 @@ class PMA_Export_Relation_Schema public function setShowKeys($value) { $this->showKeys = (isset($value) && $value == 'on') ? 1 : 0; - } + } /** * Set Orientation @@ -154,7 +154,7 @@ class PMA_Export_Relation_Schema } /** - * get all tables involved or included in page + * get all tables involved or included in page * * @param string db name of the database * @param integer pageNumber page number whose tables will be fetched in an array @@ -171,7 +171,7 @@ class PMA_Export_Relation_Schema $tab_rs = PMA_query_as_controluser($tab_sql, null, PMA_DBI_QUERY_STORE); if (!$tab_rs || !PMA_DBI_num_rows($tab_rs) > 0) { - $this->_die('',__('No tables')); + $this->dieSchema('',__('No tables')); } while ($curr_table = @PMA_DBI_fetch_assoc($tab_rs)) { $alltables[] = PMA_sqlAddslashes($curr_table['table_name']); hooks/post-receive -- phpMyAdmin
participants (1)
-
Michal Čihař