Changeset:
        50114b7def0d
        
https://sourceforge.net/p/mrbs/hg-code/ci/50114b7def0dcce0336b54f7d67935dafe5241c0
Author:
        Campbell Morrison <[email protected]>
Date:
        Sun Oct 02 15:39:12 2016 +0100
Log message:

Always print the simple header on a fatal error

diffstat:

 web/functions_error.inc |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (17 lines):

diff -r 49e5eab7878b -r 50114b7def0d web/functions_error.inc
--- a/web/functions_error.inc   Sun Oct 02 15:38:29 2016 +0100
+++ b/web/functions_error.inc   Sun Oct 02 15:39:12 2016 +0100
@@ -68,11 +68,8 @@
 {
   global $simple_trailer, $weekstarts, $view_week_number, $strftime_format;
 
-  if ($need_header)
-  {
-    print_header(0, 0, 0, 0, "");
-  }
-  
+  print_simple_header();
+    
   if ($show_debug)
   {
     error_log("MRBS: $message");

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to