no PMA_backquote

This commit is contained in:
Marc Delisle
2002-07-06 23:31:21 +00:00
parent b93a2a2650
commit cc16007737
2 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ $Source$
2002-07-06 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_structure.php3: undefined variable
* pdf_pages.php3: bug 574637 undefined index
* db_details_structure.php3: remove a PMA_backquote added today that
introduces a bug
2002-07-05 Alexander M. Turek <rabus@users.sourceforge.net>
* header.inc.php3: Tried to fix bug #571409 (Zend Accelerator problems).

View File

@@ -460,8 +460,9 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) {
<!-- PDF schema -->
<?php
// We only show this if we find something in the new pdf_pages table
// Note: there are no backquotes surrounding this field in the table
$test_query = 'SELECT * FROM ' . PMA_backquote($cfgRelation['pdf_pages'])
. ' WHERE db_name = \'' . PMA_backquote($db) . '\'';
. ' WHERE db_name = \'' . $db . '\'';
$test_rs = PMA_query_as_cu($test_query);
if ($test_rs && mysql_num_rows($test_rs) > 0) {
echo "\n";