aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2005-01-26 10:42:34 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2005-01-26 10:42:34 +0000
commitc8b0cdc0e86a426d2a6ef3044641934850b3cec4 (patch)
tree75e817eedfc29a7826f31f5c9a07cfa81d63add8 /phpBB
parent0a1b040588654b82baa7c258b02355081873b775 (diff)
downloadforums-c8b0cdc0e86a426d2a6ef3044641934850b3cec4.tar
forums-c8b0cdc0e86a426d2a6ef3044641934850b3cec4.tar.gz
forums-c8b0cdc0e86a426d2a6ef3044641934850b3cec4.tar.bz2
forums-c8b0cdc0e86a426d2a6ef3044641934850b3cec4.tar.xz
forums-c8b0cdc0e86a426d2a6ef3044641934850b3cec4.zip
Fixed small bug related to email sending
git-svn-id: file:///svn/phpbb/trunk@5077 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-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
+?>