diff --git a/src/classes/page.php b/src/classes/page.php index 5ed651c5..a87a5bb1 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -305,7 +305,7 @@ class Page $stylesheet_page = 'src/assets/css/' . $this->name . '.css'; if (file_exists($stylesheet_page)) { - $this->stylesheets[] = array('page' => $stylesheet_page); + $this->stylesheets['page'] = $stylesheet_page; } foreach ($this->stylesheets as $stylesheet_filepath) {