"there is no query" were displayed when deleting a bookmark

This commit is contained in:
Loïc Chapeaux
2001-10-27 10:33:54 +00:00
parent 4261437963
commit c14ea1a49a
2 changed files with 7 additions and 1 deletions

View File

@@ -6,6 +6,10 @@ $Id$
$Source$
2001-10-27 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* read_dump.php3, lines 286-288; lang/*: "there is no query" were displayed
when deleting a bookmark.
2001-10-27 Olivier M<>ller <om@omnis.ch>
* config.inc.php3: put the ENCRYPT function back to the config file.

View File

@@ -283,7 +283,9 @@ require('./header.inc.php3');
if (isset($my_die)) {
mysql_die('', $my_die, '', $err_url);
}
if (!isset($sql_query_cpy)) {
if (!empty($id_bookmark) && $action_bookmark == 2) {
$message = $strBookmarkDeleted;
} else if (!isset($sql_query_cpy)) {
$message = $strNoQuery;
} else if ($sql_query_cpy == '') {
$message = "$strSuccess&nbsp:<br />$strTheContent ($pieces_count $strInstructions)&nbsp;";