Fix warnings when error_reporting is set to E_ALL
This commit is contained in:
@@ -11,7 +11,7 @@ include("lib.inc.php3");
|
||||
|
||||
// Bookmark Support
|
||||
|
||||
if($sql_bookmark != "")
|
||||
if(!empty($sql_bookmark))
|
||||
$sql_query = $sql_bookmark;
|
||||
|
||||
//
|
||||
|
2
sql.php3
2
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 "<form method=\"post\" action=\"tbl_replace.php3\">\n";
|
||||
echo "<i>$strOr</i><br><br>\n";
|
||||
|
Reference in New Issue
Block a user