aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_remind.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_remind.php b/phpBB/includes/ucp/ucp_remind.php
index ae6ce3c27c..97dc2d5bfe 100644
--- a/phpBB/includes/ucp/ucp_remind.php
+++ b/phpBB/includes/ucp/ucp_remind.php
@@ -75,7 +75,11 @@ class ucp_remind extends module
);
$messenger->send($row['user_notify_type']);
- $messenger->queue->save();
+ if ($messenger->queue)
+ {
+ $messenger->queue->save();
+ }
+
meta_refresh(3, "index.$phpEx$SID");
@@ -96,4 +100,4 @@ class ucp_remind extends module
}
}
-?> \ No newline at end of file
+?>