X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffooter.php;h=058eb4f6ae43ab30cc504c3c7492e61fe41028e4;hp=72f500281c32ca384f1d1ecb01f50ab859eee467;hb=ccf34a2a92d80d01debd84b4b6e1f294d8f90cce;hpb=70a70cc2bbf8942f89ef092e076289164bae7b4c diff --git a/inc/footer.php b/inc/footer.php index 72f500281c..058eb4f6ae 100644 --- a/inc/footer.php +++ b/inc/footer.php @@ -41,6 +41,9 @@ if (!defined('__SECURITY')) { die(); } // END - if +// Init page footer +$GLOBALS['page_footer'] = ''; + // Footer disabled or already sent? // 1234 5 54 45 5 5 543 3 321 if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != 1) && ($GLOBALS['footer_sent'] != 2))) && (getOutputMode() != 1))) { @@ -48,7 +51,7 @@ if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != 1) && ($ runFilterChain('page_footer'); // Load page footer - loadTemplate('page_footer'); + $GLOBALS['page_footer'] .= loadTemplate('page_footer', true); } // END - if // Footer has been reached