Fix delete message when save_titles_as_html is enabled - refs BT#14409

pull/2573/head
Angel Fernando Quiroz Campos 7 years ago
parent 1eab908bda
commit 2c9701e476
  1. 2
      main/exercise/exercise.php

@ -936,7 +936,7 @@ if (!empty($exerciseList)) {
),
'',
[
'onclick' => "javascript:if(!confirm('".addslashes(api_htmlentities(get_lang('AreYouSureToDeleteJS'), ENT_QUOTES, $charset))." ".addslashes($row['title'])."?"."')) return false;",
'onclick' => "javascript:if(!confirm('".addslashes(api_htmlentities(get_lang('AreYouSureToDeleteJS'), ENT_QUOTES, $charset))." ".addslashes($exercise->getUnformattedTitle())."?"."')) return false;",
'href' => 'exercise.php?'.api_get_cidreq().'&choice=delete&sec_token='.$token.'&exerciseId='.$row['id'],
]
);

Loading…
Cancel
Save