Changeset:
        3bfd711c5fa5
        
https://sourceforge.net/p/mrbs/hg-code/ci/3bfd711c5fa537b4e498a9229a34d052730dcd96
Author:
        Campbell Morrison <[email protected]>
Date:
        Thu Mar 02 09:33:34 2017 +0000
Log message:

Fixed bug when using custom themes.  See SF Support Requests #1170.

diffstat:

 web/functions.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 75e96fcd3e67 -r 3bfd711c5fa5 web/functions.inc
--- a/web/functions.inc Wed Mar 01 20:53:13 2017 +0000
+++ b/web/functions.inc Thu Mar 02 09:33:34 2017 +0000
@@ -192,7 +192,7 @@
   {
     include_once "Themes/$theme/header.inc";
   }
-  if (!function_exists("print_theme_header"))
+  if (!function_exists(__NAMESPACE__ . "\\print_theme_header"))
   {
     require_once "Themes/default/header.inc";
   }
@@ -216,7 +216,7 @@
   {
     include_once "Themes/$theme/footer.inc";
   }
-  if (!function_exists("print_theme_footer"))
+  if (!function_exists(__NAMESPACE__ . "\\print_theme_footer"))
   {
     require_once "Themes/default/footer.inc";
   }

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