Avoid errors by explicitely namespacing root exception

This commit is contained in:
Romain Neutron
2014-02-20 11:28:31 +01:00
parent fab9a64ae0
commit 2af21c064c
73 changed files with 164 additions and 164 deletions

View File

@@ -106,7 +106,7 @@ class set_selection extends set_abstract
if ($num_rows == 0) {
$to_remove[] = $id;
}
} catch (Exception $e) {
} catch (\Exception $e) {
}
}
@@ -131,7 +131,7 @@ class set_selection extends set_abstract
if (count($basrec) == 2) {
try {
$record = new record_adapter($this->app, (int) $basrec[0], (int) $basrec[1], count($this->elements));
} catch (Exception $e) {
} catch (\Exception $e) {
continue;
}
if ($record->is_grouping() && $flatten_groupings === true) {