Skip to content

Commit

Permalink
[fix] Missing addslashes in batch alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Dec 25, 2014
1 parent 0cc7016 commit de6b74a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/joomla/toolbar/batch.php
Expand Up @@ -13,6 +13,7 @@

$title = $displayData['title'];
$message = JText::_('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST');
$message = addslashes($message);
?>
<button data-toggle="modal" onclick="if (document.adminForm.boxchecked.value==0){alert('<?php echo $message; ?>'); }else{jQuery( '#collapseModal' ).modal('show'); return true;}" class="btn btn-small">
<i class="icon-checkbox-partial" title="<?php echo $title; ?>"></i>
Expand Down

0 comments on commit de6b74a

Please sign in to comment.