Updates to use non @2 name in filename

This commit is contained in:
Andy Miller
2017-05-26 16:15:49 -06:00
parent 7e103ca4c9
commit a9182e1563
6 changed files with 16 additions and 8 deletions

View File

@@ -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();