worked around a PHP3 problem

This commit is contained in:
Alexander M. Turek
2002-04-28 20:12:50 +00:00
parent 32a66302d8
commit aea7d627c0

View File

@@ -305,7 +305,7 @@ else {
if (!isset($single)) {
$table = mysql_tablename($tables, $i);
}
if (isset($tmp_select) && strpos($tmp_select, ' |' . $table . '|') >= 0) {
if ((isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $table . '|')) || isset($single)) {
$dump_buffer .= PMA_getTableXML($db, $table, $crlf, $err_url) . $crlf;
}
$i++;