summaryrefslogtreecommitdiff
path: root/modules/notification/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/helpers')
-rw-r--r--modules/notification/helpers/notification.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/notification/helpers/notification.php b/modules/notification/helpers/notification.php
index 31a56c1f..e9fc3f33 100644
--- a/modules/notification/helpers/notification.php
+++ b/modules/notification/helpers/notification.php
@@ -171,7 +171,7 @@ class notification {
static function send_pending_notifications() {
foreach (db::build()
- ->select("DISTINCT email")
+ ->select(new Database_Expression("DISTINCT `email`"))
->from("pending_notifications")
->execute() as $row) {
$email = $row->email;