Learnpath: Fix delete LP javascript broken by commit db479c1 Enable HTML presentation of title of LP in LP list -refs BT#19939

pull/4275/head
NicoDucou 4 years ago
parent db479c1239
commit a6be837f86
  1. 2
      main/lp/lp_list.php

@ -799,7 +799,7 @@ foreach ($categories as $item) {
), ),
'lp_controller.php?'.$cidReq."&action=delete&lp_id=$id", 'lp_controller.php?'.$cidReq."&action=delete&lp_id=$id",
[ [
'onclick' => "javascript: return confirmation('".addslashes($strip_tags(name))."');", 'onclick' => "javascript: return confirmation('".addslashes(strip_tags($name))."');",
] ]
); );
} else { } else {

Loading…
Cancel
Save