fix announcements for a group

skala
Juan Carlos Raña 15 years ago
parent 0a914619ea
commit aead836cdb
  1. 2
      main/announcements/announcements.inc.php

@ -712,7 +712,7 @@ function sent_to($tool, $id)
while ($row=Database::fetch_array($result)) {
// if to_group_id is null then it is sent to a specific user
// if to_group_id = 0 then it is sent to everybody
if (!is_null($row['to_group_id']))
if ($row['to_group_id'] != 0)
{
$sent_to_group[]=$row['to_group_id'];
}

Loading…
Cancel
Save