From c14ea1a49aa7645f417b42c2b26d3313c270b602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 27 Oct 2001 10:33:54 +0000 Subject: [PATCH] "there is no query" were displayed when deleting a bookmark --- ChangeLog | 4 ++++ read_dump.php3 | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b456e9a4b..d2ab07061 100755 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,10 @@ $Id$ $Source$ +2001-10-27 Loïc Chapeaux + * read_dump.php3, lines 286-288; lang/*: "there is no query" were displayed + when deleting a bookmark. + 2001-10-27 Olivier Müller * config.inc.php3: put the ENCRYPT function back to the config file. diff --git a/read_dump.php3 b/read_dump.php3 index dd22a04de..dce0849e4 100644 --- a/read_dump.php3 +++ b/read_dump.php3 @@ -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 :
$strTheContent ($pieces_count $strInstructions) ";