fix name of class on catch
This commit is contained in:
parent
d4e1ee4766
commit
21d5f9ed58
|
@ -148,8 +148,8 @@ class Relationship extends Metadata_Type {
|
|||
}
|
||||
|
||||
|
||||
} catch (Exception $e) {
|
||||
// item not found
|
||||
} catch (\Exception $e) {
|
||||
// item not found
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -164,7 +164,7 @@ class Relationship extends Metadata_Type {
|
|||
$return .= $this->get_item_html($item);
|
||||
}
|
||||
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
// item not found
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue