Commit 72da2b37 authored by slopez's avatar slopez
Browse files

weekmail

parent 68154383
......@@ -46,11 +46,7 @@ class weekmail extends stdentity
public function __get($property)
{
if(isset($this->$property))
{
if(!empty($this->$property) && !is_null($this->$property))
return $this->$property;
return null;
}
return $this->$property;
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