From 0a26772e354969930f8aeb51d53eb97c46faae6e Mon Sep 17 00:00:00 2001 From: Gert Date: Mon, 6 Apr 2015 23:26:53 +0200 Subject: [PATCH] fix alternative type not detected anymore --- system/src/Grav/Common/Page/Media.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/src/Grav/Common/Page/Media.php b/system/src/Grav/Common/Page/Media.php index bfa91267f..15296c9ac 100644 --- a/system/src/Grav/Common/Page/Media.php +++ b/system/src/Grav/Common/Page/Media.php @@ -226,6 +226,7 @@ class Media extends Getters $name = $matches[1]; $extension = $matches[3]; $extra = (int) $matches[2]; + $type = 'alternative'; if ($extra === 1) { $type = 'base';