diff --git a/sql.php3 b/sql.php3 index 8a2aab346..3a3fee744 100755 --- a/sql.php3 +++ b/sql.php3 @@ -89,7 +89,7 @@ if (isset($btnDrop) && $btnDrop == $strNo) { if (!empty($back)) { $goto = $back; } - if (file_exists('./' . $goto)) { + if (@file_exists('./' . $goto)) { if ($goto == 'db_details.php3' && !empty($table)) { unset($table); } @@ -275,7 +275,7 @@ else { $message = $strEmptyResultSet; } - if (file_exists('./' . $goto)) { + if (@file_exists('./' . $goto)) { $goto = ereg_replace('\.\.*', '.', $goto); // Checks for a valid target script if (isset($table) && $table == '') { diff --git a/tbl_replace.php3 b/tbl_replace.php3 index 71e13c0f4..8f052e8ed 100755 --- a/tbl_replace.php3 +++ b/tbl_replace.php3 @@ -127,7 +127,7 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) { // No change -> move back to the calling script else { $message = $strNoModification; - if (file_exists('./' . $goto)) { + if (@file_exists('./' . $goto)) { $js_to_run = 'functions.js'; include('./header.inc.php3'); include('./' . ereg_replace('\.\.*', '.', $goto));