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.'

';