mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +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 {
|
try {
|
||||||
$value = Api\DateTime::to($value, true);
|
$value = Api\DateTime::to($value, true);
|
||||||
}
|
}
|
||||||
catch (Exception $e) {
|
catch (\Exception $e) {
|
||||||
unset($e); // ignore exception caused by wrongly formatted date
|
unset($e); // ignore exception caused by wrongly formatted date
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1280,7 +1280,7 @@ abstract class Merge
|
|||||||
Api\DateTime::$user_timezone
|
Api\DateTime::$user_timezone
|
||||||
);
|
);
|
||||||
if($date) break;
|
if($date) break;
|
||||||
} catch (Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1630,7 +1630,7 @@ abstract class Merge
|
|||||||
{
|
{
|
||||||
$this->apply_styles($merged, $mimetype);
|
$this->apply_styles($merged, $mimetype);
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (\Exception $e)
|
||||||
{
|
{
|
||||||
// Error converting HTML styles over
|
// Error converting HTML styles over
|
||||||
error_log($e->getMessage());
|
error_log($e->getMessage());
|
||||||
|
Loading…
Reference in New Issue
Block a user