From 067c6974626938e9ac89abb4342aea1dde11ce65 Mon Sep 17 00:00:00 2001 From: Patrick Cool Date: Thu, 7 Dec 2006 10:40:59 +0100 Subject: [PATCH] [svn r10391] consistency: when changing the introduction text there is no message that the text has been changed http://www.dokeos.com/forum/viewtopic.php?p=32412 --- main/inc/introductionSection.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/inc/introductionSection.inc.php b/main/inc/introductionSection.inc.php index 07ec1c46a3..92e5d8faef 100644 --- a/main/inc/introductionSection.inc.php +++ b/main/inc/introductionSection.inc.php @@ -91,6 +91,7 @@ if ($intro_editAllowed) { $sql = "REPLACE $TBL_INTRODUCTION SET id='$moduleId',intro_text='".mysql_real_escape_string($intro_content)."'"; api_sql_query($sql,__FILE__,__LINE__); + Display::display_confirmation_message('IntroductionTextUpdated'); } else { @@ -108,6 +109,7 @@ if ($intro_editAllowed) if($intro_cmdDel) { api_sql_query("DELETE FROM $TBL_INTRODUCTION WHERE id='".$moduleId."'",__FILE__,__LINE__); + Display::display_confirmation_message('IntroductionTextDeleted'); } }