Skip to content
Snippets Groups Projects
Commit 34240a59 authored by Adrian Lang's avatar Adrian Lang
Browse files

Fix $info var reference in digest send

darcs-hash:20091130135040-e4919-40b6614fe28ea07dc5796661ddda6d005264ddbc.gz
parent 056c2049
No related branches found
No related tags found
No related merge requests found
......@@ -384,11 +384,11 @@ function sendDigest() {
}
if ($style === 'digest') {
foreach($changes as $change) {
subscription_send_digest($info['mail'], $change,
subscription_send_digest($USERINFO['mail'], $change,
$lastupdate);
}
} elseif ($style === 'list') {
subscription_send_list($info['mail'], $changes, $id);
subscription_send_list($USERINFO['mail'], $changes, $id);
}
// TODO: Handle duplicate subscriptions.
} else {
......@@ -400,7 +400,7 @@ function sendDigest() {
// There is no new revision.
continue;
}
subscription_send_digest($info['mail'], $meta['last_change'],
subscription_send_digest($USERINFO['mail'], $meta['last_change'],
$lastupdate);
}
// Update notification time.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment