use NEW exception for assertion failed

This commit is contained in:
Klaus Leithoff 2012-11-06 10:36:25 +00:00
parent 20ab9041cf
commit b48bee9406

View File

@ -979,7 +979,7 @@ class egw_link extends solink
} }
else 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']; $popup = $data['mime_popup'];
unset($data['mime_popup']); unset($data['mime_popup']);