mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-18 20:31:32 +00:00
[Web] fix wrong log type on PDOException
This commit is contained in:
@@ -1330,7 +1330,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||||||
update_sogo_static_view($username);
|
update_sogo_static_view($username);
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
$_SESSION['return'][] = array(
|
$_SESSION['return'][] = array(
|
||||||
'type' => 'success',
|
'type' => 'danger',
|
||||||
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
||||||
'msg' => $e->getMessage()
|
'msg' => $e->getMessage()
|
||||||
);
|
);
|
||||||
@@ -3259,7 +3259,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||||||
update_sogo_static_view($username);
|
update_sogo_static_view($username);
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
$_SESSION['return'][] = array(
|
$_SESSION['return'][] = array(
|
||||||
'type' => 'success',
|
'type' => 'danger',
|
||||||
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
||||||
'msg' => $e->getMessage()
|
'msg' => $e->getMessage()
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user