Skip to content

Commit ead2b4c

Browse files
committed
Fixing Issue #132
Cacti log shows syslog error when setting the "Re-Alert Cycle" in Alert Rules settings
1 parent c17566c commit ead2b4c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
--- develop ---
44

55
* issue#122: Apply Cacti#3191 for XSS exposure (CVE-2020-7106)
6+
67
* issue#128:The syslog alert email is not sent if the Reporting Method is set to threshold.
8+
9+
* issue#132: Cacti log shows syslog error when setting the "Re-Alert Cycle" in Alert Rules settings
10+
711
* issue#133: Saving Settings on the Syslog Tab are not retained in latest Cacti
812

913
--- 2.9 ---

syslog_alerts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ function get_repeat_array() {
391391
$repeat_end = ($alert_retention * 24 * 60 * $multiplier) / 5;
392392
}
393393

394-
if ($repeat_end) {
394+
if (isset($repeat_end)) {
395395
foreach ($repeatarray as $i => $value) {
396396
if ($i > $repeat_end) {
397397
unset($repeatarray[$i]);

0 commit comments

Comments
 (0)