Fix exceptions returning 404 status codes
Fix exceptions returning 404 status codes

--- a/include/controller/Controller_Message.class.php
+++ b/include/controller/Controller_Message.class.php
@@ -281,6 +281,8 @@
 	private function StatusCodeHeader($code)
 	{
 		switch ($code) {
+			case 404:
+				return '404 Not Found';
 			case 500:
 				return '500 Internal Server Error';
 		}

comments