mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-01 10:56:08 +01:00
Updates to use non @2 name in filename
This commit is contained in:
@@ -1531,7 +1531,8 @@ class Admin
|
||||
*/
|
||||
private function getMediaOfType($type, $page, $page_files) {
|
||||
if ($page) {
|
||||
$path = $page->path();
|
||||
|
||||
// $path = $page->path();
|
||||
$media = $page->media();
|
||||
$mediaOfType = $media->$type();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user