summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 4e98342..4793d3d 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -36,7 +36,7 @@ function tpl ($options, $file) {
return $tpl_htm;
}
-function fatal ($msg, $link, $label) {
+function fatal ($msg = null, $link = null, $label = null) {
if ($link === null) $link = 'javascript:history.go(-1);';
if ($label === null) $label = '← Got It';
die(tpl(array('message' => $msg, 'link' => $link, 'label' => $label), 'fatal.tpl'));