From b48bee9406dd19cfffc381587b8567123e47e471 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 6 Nov 2012 10:36:25 +0000 Subject: [PATCH] use NEW exception for assertion failed --- phpgwapi/inc/class.egw_link.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 42faa4e6dd..9dfca2e4ec 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -979,7 +979,7 @@ class egw_link extends solink } else { - throw egw_exception_assertion_failed("Missing 'mime_id' or 'mime_url' for mime-type '$type'!"); + throw new egw_exception_assertion_failed("Missing 'mime_id' or 'mime_url' for mime-type '$type'!"); } $popup = $data['mime_popup']; unset($data['mime_popup']);