diff options
author | Colin Smith <colin@pfsense.org> | 2005-07-13 02:02:48 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-07-13 02:02:48 +0000 |
commit | c6e2b163e03bca00b81bf66f0ce169bff7c0a6ed (patch) | |
tree | f0f26ae5cea7fb50cabded8800c103297c760ce9 /etc/inc/notices.inc | |
parent | de7d19540c6550c2851be5b50ad1fcf844c17e63 (diff) | |
download | pfsense-c6e2b163e03bca00b81bf66f0ce169bff7c0a6ed.zip pfsense-c6e2b163e03bca00b81bf66f0ce169bff7c0a6ed.tar.gz |
Make $url optional.
Diffstat (limited to 'etc/inc/notices.inc')
-rw-r--r-- | etc/inc/notices.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc index f906301..3f74113 100644 --- a/etc/inc/notices.inc +++ b/etc/inc/notices.inc @@ -44,7 +44,7 @@ $notice_path = $g['tmp_path'] . '/notices'; * $priority - A notice's priority. Higher numbers indicate greater severity. * 0 = informational, 1 = warning, 2 = error, etc. This may also be arbitrary, */ -function file_notice($id, $notice, $category = "General", $url, $priority = 1) { +function file_notice($id, $notice, $category = "General", $url = "", $priority = 1) { global $notice_path; if(!$queue = get_notices()) $queue = array(); $queuekey = time(); @@ -166,4 +166,4 @@ function are_notices_pending($category = "all") { return false; } -?>
\ No newline at end of file +?> |