mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #2857 from phil-davis/patch-6
This commit is contained in:
commit
32e114db0a
@ -101,7 +101,7 @@ function file_notice($id, $notice, $category = "General", $url = "", $priority =
|
||||
$queue[$queuekey] = $toqueue;
|
||||
$queueout = fopen($notice_path, "w");
|
||||
if (!$queueout) {
|
||||
log_error(printf(gettext("Could not open %s for writing"), $notice_path));
|
||||
log_error(sprintf(gettext("Could not open %s for writing"), $notice_path));
|
||||
return;
|
||||
}
|
||||
fwrite($queueout, serialize($queue));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user