Revision c6e2b163
Added by Colin Smith about 20 years ago
etc/inc/notices.inc | ||
---|---|---|
44 | 44 |
* $priority - A notice's priority. Higher numbers indicate greater severity. |
45 | 45 |
* 0 = informational, 1 = warning, 2 = error, etc. This may also be arbitrary, |
46 | 46 |
*/ |
47 |
function file_notice($id, $notice, $category = "General", $url, $priority = 1) { |
|
47 |
function file_notice($id, $notice, $category = "General", $url = "", $priority = 1) {
|
|
48 | 48 |
global $notice_path; |
49 | 49 |
if(!$queue = get_notices()) $queue = array(); |
50 | 50 |
$queuekey = time(); |
... | ... | |
166 | 166 |
return false; |
167 | 167 |
} |
168 | 168 |
|
169 |
?> |
|
169 |
?> |
Also available in: Unified diff
Make $url optional.