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 32301fe0..8ee0c6ba 100644
--- a/modules/notification/helpers/notification.php
+++ b/modules/notification/helpers/notification.php
@@ -149,7 +149,7 @@ class notification {
$result = ORM::factory("pending_notification")
->where("email", $email)
->find_all();
- if ($result->count == 1) {
+ if ($result->count() == 1) {
$pending = $result->get();
Sendmail::factory()
->to($email)