diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-09-15 23:25:12 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-09-15 23:25:12 -0500 |
commit | 83901b0229ac14f5e535dd309e56a72e62f2a372 (patch) | |
tree | f3acdd59f1e94ad3fedcfad1716b420614e07b4f /src | |
parent | 3599c525bded0c839030dad22ab57edea5e2ac75 (diff) | |
parent | 80b53805d352f6c8a9b4c08d416e793c07642f03 (diff) | |
download | pfsense-83901b0229ac14f5e535dd309e56a72e62f2a372.zip pfsense-83901b0229ac14f5e535dd309e56a72e62f2a372.tar.gz |
Merge pull request #1823 from phil-davis/notices-per-second
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/notices.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/notices.inc b/src/etc/inc/notices.inc index 891c18b..0a1657c 100644 --- a/src/etc/inc/notices.inc +++ b/src/etc/inc/notices.inc @@ -80,6 +80,9 @@ function file_notice($id, $notice, $category = "General", $url = "", $priority = 'category' => $category, 'priority' => $priority, ); + while (isset($queue[$queuekey])) { + $queuekey++; + } $queue[$queuekey] = $toqueue; $queueout = fopen($notice_path, "w"); if (!$queueout) { |