Translated a string & coding standards

This commit is contained in:
Loïc Chapeaux
2002-07-26 10:07:45 +00:00
parent 0295501473
commit 4d5747e176
87 changed files with 99 additions and 13 deletions

View File

@@ -852,8 +852,9 @@ class PMA_RT
. ' WHERE db_name = \'' . PMA_sqlAddslashes($db) . '\''
. ' AND pdf_page_number = ' . $which_rel;
$tab_rs = PMA_query_as_cu($tab_sql);
if (!mysql_num_rows($tab_rs) > 0) {
die('No tables');
if (!$tab_rs || !mysql_num_rows($tab_rs) > 0) {
$pdf->PMA_PDF_die($GLOBALS['strPdfNoTables'];
// die('No tables');
}
while ($curr_table = @PMA_mysql_fetch_array($tab_rs)) {
$alltables[] = PMA_sqlAddslashes($curr_table['table_name']);