mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +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