From dff1f3894e4e7a1a4c8b8f20adfe4acb43555cd0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 13 Mar 2012 08:59:05 +0000 Subject: [PATCH] define SEP, if not defined, fixes open_basedir errors seen in error_log --- notifications/inc/class.notifications.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notifications/inc/class.notifications.inc.php b/notifications/inc/class.notifications.inc.php index 0f57bd1012..11a11dddf8 100644 --- a/notifications/inc/class.notifications.inc.php +++ b/notifications/inc/class.notifications.inc.php @@ -1,6 +1,6 @@ accounts->read($receiver->account_id); //error_log(__METHOD__.__LINE__." fetched data for User:".array2string($userData['account_lid']).'#'.$userData['account_type'].'#'.$userData['account_status'].'#'.$GLOBALS['egw']->accounts->is_expired($userData).'#'); - if ($userData && $userData['account_type'] === 'u' && + if ($userData && $userData['account_type'] === 'u' && ($userData['account_status'] != 'A' || $GLOBALS['egw']->accounts->is_expired($userData))) { //error_log(__METHOD__.__LINE__." skipped notification for User with Data:".array2string($userData));