use NEW exception for assertion failed

This commit is contained in:
Klaus Leithoff 2012-11-06 10:38:43 +00:00
parent 19e8654778
commit 623fc12fb8

View File

@ -964,7 +964,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']);