X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_mediadata.php;h=132897acc43b233d222a9d836e817abcab28fa98;hb=ac329bd605c5ebe59b06129630cebefb34856d26;hp=849e8792d9355479816b2061c46ad9fa9e12ef80;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git
diff --git a/inc/modules/admin/what-config_mediadata.php b/inc/modules/admin/what-config_mediadata.php
index 849e8792d9..132897acc4 100644
--- a/inc/modules/admin/what-config_mediadata.php
+++ b/inc/modules/admin/what-config_mediadata.php
@@ -1,7 +1,7 @@
0) {
// Only show start
- $content['mt_start'] = '' . generateDateTime(getConfig('mt_start'), '3') . '';
+ $content['mt_start'] = '' . generateDateTime(getConfig('mt_start'), 3) . '';
} else {
// Make start editable
$content['mt_start'] =
- addSelectionBox('day' , date('d', time())).
- addSelectionBox('month', date('m', time())).
+ addSelectionBox('day' , getDay()).
+ addSelectionBox('month', getMonth()).
addSelectionBox('year', -1)
;
}