Add 'errors' to notification subject

This commit is contained in:
Nathan Gray 2011-12-12 17:24:27 +00:00
parent 193267be20
commit 3c7a918a4f

View File

@ -496,7 +496,7 @@
$notify = new notifications(); $notify = new notifications();
$notify->set_sender($data['account_id']); $notify->set_sender($data['account_id']);
$notify->add_receiver($data['account_id']); $notify->add_receiver($data['account_id']);
$notify->set_subject(lang('Schedule import | export')); $notify->set_subject(lang('Schedule import | export'). ' ' . lang('errors'));
$contents = lang($data['type']) . ' ' . lang('Errors') . ' ' . egw_time::to() . ':'; $contents = lang($data['type']) . ' ' . lang('Errors') . ' ' . egw_time::to() . ':';
foreach($data['errors'] as $target => $errors) foreach($data['errors'] as $target => $errors)