mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 11:26:25 +02:00
fix for broken auto-file-extension setting
This commit is contained in:
@@ -123,7 +123,7 @@ class Page
|
||||
$this->published();
|
||||
|
||||
if (empty($extension)) {
|
||||
$this->extension($file->getExtension());
|
||||
$this->extension('.'.$file->getExtension());
|
||||
} else {
|
||||
$this->extension($extension);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user