From b486a366d0f92581a529688e4ed2c61ae91e2ce5 Mon Sep 17 00:00:00 2001 From: danpros Date: Sat, 30 Dec 2023 22:51:18 +0700 Subject: [PATCH] Update edit-content.html.php --- system/admin/views/edit-content.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/admin/views/edit-content.html.php b/system/admin/views/edit-content.html.php index c690cef..7035b57 100644 --- a/system/admin/views/edit-content.html.php +++ b/system/admin/views/edit-content.html.php @@ -31,7 +31,7 @@ if (empty($oldtag)) { $oldtag = $oldurl[1]; } -$oldmd = $file_path['filename']; +$oldmd = str_replace('.md', '', $oldurl[2]); if (isset($_GET['destination'])) { $destination = _h($_GET['destination']);