X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ftemplate-functions.php;h=cc04cdeb79295e04e23299d09355ec1017ca5c49;hb=c1ce3b98c13fabf834d11a847eb2d297ead8d53d;hp=139759e5b0016c80bfe55cbcaaafbb557bb184fc;hpb=b045ba361328cce0482ad1e5a73c3f7549ae1f40;p=mailer.git diff --git a/inc/template-functions.php b/inc/template-functions.php index 139759e5b0..cc04cdeb79 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -305,7 +305,7 @@ function loadTemplate ($template, $return = FALSE, $content = array(), $compileC } // Init returned content - $ret = ''; + $templateContent = ''; // Set current template $GLOBALS['current_template'] = $template; @@ -859,7 +859,7 @@ function addSelectionBox ($type, $default, $prefix = '', $id = NULL, $class = 'f case 'ho': // Hours for ($idx = 0; $idx <= 23; $idx++) { - $padded = padLeftZero($idx); + $padded = padLeftZero($idx, 2); $OUT .= '