Merge pull request #1024 from jloguercio/anuncios

Fix Users can't see announcement in All Langs
1.10.x
José Loguercio 9 years ago
commit f7e6dc202c
  1. 2
      main/inc/lib/system_announcements.lib.php

@ -729,7 +729,7 @@ class SystemAnnouncementManager
$sql = "SELECT * FROM " . $table . "
WHERE
(lang = '$user_selected_language' OR lang IS NULL) AND
(lang = '$user_selected_language' OR lang = '') AND
('$now' >= date_start AND '$now' <= date_end) ";
switch ($visible) {

Loading…
Cancel
Save