mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fix missing (global) namespace in Exception from last commit, also fixed existing cases
This commit is contained in:
parent
95f092a2c5
commit
3ccea2b6d7
@ -232,7 +232,7 @@ abstract class Merge
|
||||
try {
|
||||
$value = Api\DateTime::to($value, true);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
catch (\Exception $e) {
|
||||
unset($e); // ignore exception caused by wrongly formatted date
|
||||
}
|
||||
}
|
||||
@ -1280,7 +1280,7 @@ abstract class Merge
|
||||
Api\DateTime::$user_timezone
|
||||
);
|
||||
if($date) break;
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
|
||||
}
|
||||
}
|
||||
@ -1630,7 +1630,7 @@ abstract class Merge
|
||||
{
|
||||
$this->apply_styles($merged, $mimetype);
|
||||
}
|
||||
catch (Exception $e)
|
||||
catch (\Exception $e)
|
||||
{
|
||||
// Error converting HTML styles over
|
||||
error_log($e->getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user