diff --git a/db_readdump.php3 b/db_readdump.php3 index d8d2de7ef..0712d3011 100755 --- a/db_readdump.php3 +++ b/db_readdump.php3 @@ -11,7 +11,7 @@ include("lib.inc.php3"); // Bookmark Support -if($sql_bookmark != "") +if(!empty($sql_bookmark)) $sql_query = $sql_bookmark; // diff --git a/sql.php3 b/sql.php3 index 5207197c3..c827540b8 100755 --- a/sql.php3 +++ b/sql.php3 @@ -109,7 +109,7 @@ else { // Bookmark Support - if($cfgBookmark['db'] && $cfgBookmark['table'] && $db!=$cfgBookmark['db'] && !$sql_bookmark) + if($cfgBookmark['db'] && $cfgBookmark['table'] && $db!=$cfgBookmark['db'] && empty($sql_bookmark)) { echo "