mirror of
https://github.com/getgrav/grav.git
synced 2026-07-06 20:59:41 +02:00
fix alternative type not detected anymore
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user