Update functions.mailbox.inc.php
parent
5987079cca
commit
cdd91bcb9b
|
@ -718,7 +718,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
||||||
WHERE `domain`= :target_domain AND `backupmx` = '1'");
|
WHERE `domain`= :target_domain AND `backupmx` = '1'");
|
||||||
$stmt->execute(array(':target_domain' => $target_domain));
|
$stmt->execute(array(':target_domain' => $target_domain));
|
||||||
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
|
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
|
||||||
if ($num_results == 0) {
|
if ($num_results == 1) {
|
||||||
$_SESSION['return'][] = array(
|
$_SESSION['return'][] = array(
|
||||||
'type' => 'danger',
|
'type' => 'danger',
|
||||||
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
||||||
|
|
Loading…
Reference in New Issue