prevent "Error!" message

http://board.s9y.org/viewtopic.php?f=10&t=20709&p=10445250#p10445250
This commit is contained in:
Garvin Hicking 2016-04-12 12:18:45 +02:00
parent 76918fe139
commit 6c2b6b596a
3 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2.93:
-----
When admin mails are enabled, return proper function call to prevent "ERROR" message.
2.38:
-----

View file

@ -46,6 +46,7 @@ class serendipity_common_adduser {
if ($approve_only) {
// Only Admin-Mails, done in the foreach-loop above already.
$mail = true;
} else {
// Send out Mails to the actual receiver.
$mail = serendipity_sendMail($email, $subject, $message, $email, null, $serendipity['blogTitle']);

View file

@ -12,7 +12,7 @@ class serendipity_plugin_adduser extends serendipity_plugin {
$propbag->add('description', PLUGIN_ADDUSER_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking');
$propbag->add('version', '2.38');
$propbag->add('version', '2.39');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',