From 3a568b711d4459e33d60cd484db65df1af00a7c2 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 7 Mar 2018 18:53:40 +0100 Subject: [PATCH] Fix on Static pages plugin --- bl-plugins/static-pages/plugin.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/bl-plugins/static-pages/plugin.php b/bl-plugins/static-pages/plugin.php index 709f04b8..c7e708a6 100644 --- a/bl-plugins/static-pages/plugin.php +++ b/bl-plugins/static-pages/plugin.php @@ -61,13 +61,11 @@ class pluginStaticPages extends Plugin { } // Show static pages - if ($this->getValue('staticPages')) { - $staticPages = buildStaticPages(); - foreach ($staticPages as $page) { - $html .= '
  • '; - $html .= '' . $page->title() . ''; - $html .= '
  • '; - } + $staticPages = buildStaticPages(); + foreach ($staticPages as $page) { + $html .= '
  • '; + $html .= '' . $page->title() . ''; + $html .= '
  • '; } $html .= '';