function getEmailFrom()
{
+ if (empty($this->name)) {
+ return $this->email;
+ }
return '"' . addslashes($this->name) . '" <' . $this->email . '>';
}
function toEventString()
if(!empty($q['query']['name'])){
$this->whereAdd("
- $tn.name LIKE '%{$this->escape($q['query']['name'])}%'
+ Person.name LIKE '%{$this->escape($q['query']['name'])}%'
");
}