This mail is an automated notification from the bugs tracker
of the project: Savane.
/**************************************************************************/
[bugs #314] Latest Modifications:
Changes by:
Sylvain Beucler <[EMAIL PROTECTED]>
'Date:
Fri 03/26/2004 at 07:19 (GMT)
------------------ Additional Follow-up Comments ----------------------------
Sorry, I meant:
if ($notif_scope != "global") {
if ($notif_scope == "category") {
$notif_value = 0;
}
elseif ($notif_scope == "both") {
$notif_value = 2;
}
else {
$notif_value = 1;
}
}
/**************************************************************************/
[bugs #314] Full Item Snapshot:
URL: <http://gna.org/bugs/?func=detailitem&item_id=314>
Project: Savane
Submitted by: Sylvain Beucler
On: Fri 03/26/2004 at 07:15
Category: Web Frontend
Severity: 1 - Trivial
Priority: C - Normal
Resolution: None
Assigned to: None
Status: Open
Release:
Planned Release:
Summary: global notification settings cancel notification
Original Submission: In www/include/trackers/data.php:
if ($notif_scope != "global") {
if ($notif_scope == "category") {
$notif_value = 0;
}
if ($notif_scope == "both") {
$notif_value = 2;
}
} else {
$notif_value = 1;
}
should be
if ($notif_scope != "global") {
if ($notif_scope == "category") {
$notif_value = 0;
}
if ($notif_scope == "both") {
$notif_value = 2;
}
else {
$notif_value = 1;
}
}
In the first version, the 'else' part is never reached, and causes projects
with global notification settings to have their _glnotif field at 0 in the
database, preventing tracker notification.
It is still not perfect because it does not check whether a notification e-mail
address is set (otherwise it should stay at 0), but at least it works :)
Follow-up Comments
------------------
-------------------------------------------------------
Date: Fri 03/26/2004 at 07:19 By: beuc
Sorry, I meant:
if ($notif_scope != "global") {
if ($notif_scope == "category") {
$notif_value = 0;
}
elseif ($notif_scope == "both") {
$notif_value = 2;
}
else {
$notif_value = 1;
}
}
For detailed info, follow this link:
<http://gna.org/bugs/?func=detailitem&item_id=314>
_______________________________________________
Message sent via/by Gna!
http://gna.org/