From e01603bf738ee32a332c84040d33eb8df8ffb296 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 26 Feb 2018 18:19:36 +0100 Subject: [PATCH] Fix bug for php 5.3 --- bl-kernel/page.class.php | 2 +- bl-themes/blogx/php/page.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-kernel/page.class.php b/bl-kernel/page.class.php index fd3e4a2c..e5b5ac30 100644 --- a/bl-kernel/page.class.php +++ b/bl-kernel/page.class.php @@ -382,7 +382,7 @@ class Page { } // (boolean) Returns TRUE if the page is static, FALSE otherwise - public function static() + public function isStatic() { return ($this->getValue('status')=='static'); } diff --git a/bl-themes/blogx/php/page.php b/bl-themes/blogx/php/page.php index dbc1776b..b0d6959b 100644 --- a/bl-themes/blogx/php/page.php +++ b/bl-themes/blogx/php/page.php @@ -12,7 +12,7 @@

title(); ?>

- static()): ?> + isStatic()): ?>
date(); ?> - get('Reading time') . ': ' . $page->readingTime() ?>