diff --git a/lib/editor/courseimages.php b/lib/editor/courseimages.php index 36d919d89eb..15984c7e9dd 100644 --- a/lib/editor/courseimages.php +++ b/lib/editor/courseimages.php @@ -738,7 +738,7 @@ function displaydir ($wdir) { $filename = $fullpath."/".$dir; $fileurl = rawurlencode($wdir."/".$dir); $filesafe = rawurlencode($dir); - $filedate = userdate(filectime($filename), "%d %b %Y, %I:%M %p"); + $filedate = userdate(filemtime($filename), "%d %b %Y, %I:%M %p"); echo "