From f0431bb35e281300d90313ce3fb8867474cd49da Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Tue, 21 Jul 2015 20:24:14 +0700 Subject: [PATCH] Bugs fixes --- system/admin/admin.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/system/admin/admin.php b/system/admin/admin.php index 52682b5..dd4ccba 100644 --- a/system/admin/admin.php +++ b/system/admin/admin.php @@ -90,7 +90,7 @@ function edit_post($title, $tag, $url, $content, $oldfile, $destination = null, { $oldurl = explode('_', $oldfile); $dir = explode('/', $oldurl[0]); - $olddate = date('Y-m-d-h-i-s', strtotime($date)); + $olddate = date('Y-m-d-H-i-s', strtotime($date)); if ($date !== null) { $oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate; @@ -198,7 +198,7 @@ function edit_image($title, $tag, $url, $content, $oldfile, $destination = null, { $oldurl = explode('_', $oldfile); $dir = explode('/', $oldurl[0]); - $olddate = date('Y-m-d-h-i-s', strtotime($date)); + $olddate = date('Y-m-d-H-i-s', strtotime($date)); if ($date !== null) { $oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate; @@ -312,7 +312,7 @@ function edit_video($title, $tag, $url, $content, $oldfile, $destination = null, { $oldurl = explode('_', $oldfile); $dir = explode('/', $oldurl[0]); - $olddate = date('Y-m-d-h-i-s', strtotime($date)); + $olddate = date('Y-m-d-H-i-s', strtotime($date)); if ($date !== null) { $oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate; @@ -426,7 +426,7 @@ function edit_link($title, $tag, $url, $content, $oldfile, $destination = null, { $oldurl = explode('_', $oldfile); $dir = explode('/', $oldurl[0]); - $olddate = date('Y-m-d-h-i-s', strtotime($date)); + $olddate = date('Y-m-d-H-i-s', strtotime($date)); if ($date !== null) { $oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate; @@ -540,7 +540,7 @@ function edit_quote($title, $tag, $url, $content, $oldfile, $destination = null, { $oldurl = explode('_', $oldfile); $dir = explode('/', $oldurl[0]); - $olddate = date('Y-m-d-h-i-s', strtotime($date)); + $olddate = date('Y-m-d-H-i-s', strtotime($date)); if ($date !== null) { $oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate; @@ -654,7 +654,7 @@ function edit_audio($title, $tag, $url, $content, $oldfile, $destination = null, { $oldurl = explode('_', $oldfile); $dir = explode('/', $oldurl[0]); - $olddate = date('Y-m-d-h-i-s', strtotime($date)); + $olddate = date('Y-m-d-H-i-s', strtotime($date)); if ($date !== null) { $oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate;