Skip to content
Snippets Groups Projects
Commit e2a1059e authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

fix : debug with e_strict

parent b6c54135
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ class BaseObject {
*/
public function __get($name) {
try {
return $this->data[$name];
if (isset($this->data[$name])) return $this->data[$name];
} catch (Exception $e) {
echo 'Exception catched: '.$e->getMessage().', null returned<br/>';
return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment