From e010510a5ef76a3a05a78af2fded199744a23ddd Mon Sep 17 00:00:00 2001 From: leithoff Date: Tue, 14 Jun 2016 10:19:27 +0200 Subject: [PATCH] handle fatal error Using when not in object context --- api/src/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Mail.php b/api/src/Mail.php index 4bccf28628..4b94bd61ab 100644 --- a/api/src/Mail.php +++ b/api/src/Mail.php @@ -283,7 +283,7 @@ class Mail } else { - throw new Exception(__METHOD__." failed to load the Profile for ProfileID for $_profileID / ".$this->profileID." with error:".$e->getMessage().($e->details?', '.$e->details:'')); + throw new Exception(__METHOD__." failed to load the Profile for ProfileID for $_profileID with error:".$e->getMessage().($e->details?', '.$e->details:'')); } } self::storeActiveProfileIDToPref(self::$instances[$_profileID]->icServer, $_profileID, $_validate );