mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
make sure all possible return values that are passed by xajax to ajaxfelamimail are treated correct when calling sendNotify
This commit is contained in:
parent
c749c71216
commit
d7befada9c
@ -411,7 +411,7 @@
|
|||||||
function sendNotify ($_uid, $_ret)
|
function sendNotify ($_uid, $_ret)
|
||||||
{
|
{
|
||||||
$response = new xajaxResponse();
|
$response = new xajaxResponse();
|
||||||
if ($_ret==='true') {
|
if ($_ret==='true' || $_ret===1 || $_ret == "1,") {
|
||||||
if ( $this->bofelamimail->sendMDN($_uid) )
|
if ( $this->bofelamimail->sendMDN($_uid) )
|
||||||
$this->bofelamimail->flagMessages("mdnsent",array($_uid));
|
$this->bofelamimail->flagMessages("mdnsent",array($_uid));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user