[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
skala
Patrick Cool 19 years ago
parent 5832b0c901
commit 067c697462
  1. 2
      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');
}
}

Loading…
Cancel
Save