fixed a bug if $sql_file = ''

This commit is contained in:
Loïc Chapeaux
2001-08-31 15:36:58 +00:00
parent e04d3c81f3
commit d4aa996b78

View File

@@ -21,7 +21,7 @@ require('./lib.inc.php3');
$view_bookmark = 0; $view_bookmark = 0;
$sql_bookmark = isset($sql_bookmark) ? $sql_bookmark : ''; $sql_bookmark = isset($sql_bookmark) ? $sql_bookmark : '';
$sql_query = isset($sql_query) ? $sql_query : ''; $sql_query = isset($sql_query) ? $sql_query : '';
$sql_file = isset($sql_file) ? $sql_file : 'none'; $sql_file = !empty($sql_file) ? $sql_file : 'none';
/** /**