also notify about sub-entries

This commit is contained in:
Ralf Becker 2014-06-17 10:39:12 +00:00
parent 3e2255c77a
commit a2e03406d2

View File

@ -1562,7 +1562,7 @@ class infolog_bo
$filter .= date('Y-m-d',time()+24*60*60*(int)$pref_value);
//error_log(__METHOD__."() checking with filter '$filter' ($pref_value) for user $user ($email)");
$params = array('filter' => $filter, 'custom_fields' => true);
$params = array('filter' => $filter, 'custom_fields' => true, 'subs' => true);
foreach($this->so->search($params) as $info)
{
// check if we already send a notification for that infolog entry, eg. starting and due on same day