Commit 09d723c9 authored by slopez's avatar slopez
Browse files

weekmail

parent d5cd744c
......@@ -46,7 +46,11 @@ class weekmail extends stdentity
public function __get($property)
{
if(isset($this->$property))
return $this->$property;
{
if(!empty($this->$property) && !is_null($this->$property))
return $this->$property;
return null;
}
throw new Exception('Propriété invalide !');
}
......
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