mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Allow functions deep in the stack (table callbacks) to throw exceptions in error conditions
This commit is contained in:
parent
a555588dbe
commit
0ecbc8b54d
@ -306,7 +306,12 @@ abstract class bo_merge
|
||||
{
|
||||
$mimetype = 'application/rtf';
|
||||
}
|
||||
return $this->merge_string($content,$ids,$err,$mimetype,$fix);
|
||||
try {
|
||||
return $this->merge_string($content,$ids,$err,$mimetype,$fix);
|
||||
} catch (Exception $e) {
|
||||
$err = $e->getMessage();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user