Commit e0383fb9 authored by Mariano Scazzariello's avatar Mariano Scazzariello Committed by GitHub

Check fix.

parent 937d8897
......@@ -138,7 +138,7 @@ class dbObject {
* @return mixed
*/
public function __get ($name) {
if (property_exists ($this, 'hidden') && array_search ($name, $this->hidden) === false)
if (property_exists ($this, 'hidden') && array_search ($name, $this->hidden) !== false)
return null;
if (isset ($this->data[$name]) && $this->data[$name] instanceof dbObject)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment