From 7424f57bc37b4c193f040b80a928686a52249046 Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 27 Nov 2015 22:27:02 +0100 Subject: [PATCH] fix --- src/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index c3bf99c..2bae4b2 100644 --- a/src/functions.php +++ b/src/functions.php @@ -81,7 +81,7 @@ function get_language_array(){ return $lang; } function error($code,$message){ - switch($error){ + switch($code){ case 404: header("HTTP/1.0 404 Not Found"); echo 'Page Not found

'.$message.'

';