[PLUGINS] ~maj globale
[lhc/web/www.git] / www / plugins / notifications2 / formulaires / abonner_notifications.php
index ae648a3..30b8f7e 100644 (file)
@@ -178,5 +178,5 @@ function notifications_where_abo($email, $id_auteur=null){
        if ($id_auteur)
                $where[] = "(notification_email=".sql_quote('')." AND email_auteur=".sql_quote('')." AND id_auteur=".intval($id_auteur).")";
 
-       return implode(" OR ",$where);
+       return "(".implode(" OR ",$where).")";
 }
\ No newline at end of file