Skip to content

Commit

Permalink
Mail: Fixed Mantis issue 27720
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay committed Feb 27, 2020
1 parent 0afe214 commit 704c84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/Contact/classes/class.ilMailMemberSearchGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ protected function showSelectableUsers()
*/
protected function sendMailToSelectedUsers()
{
if (!count($_POST['user_ids'])) {
if (!isset($_POST['user_ids']) || !is_array($_POST['user_ids']) || 0 === count($_POST['user_ids'])) {
ilUtil::sendFailure($this->lng->txt("no_checkbox"));
$this->showSelectableUsers();
return false;
Expand Down

0 comments on commit 704c84e

Please sign in to comment.