From 1f6538980be33fae6716c258cd702a532a3c3db6 Mon Sep 17 00:00:00 2001 From: janxb Date: Mon, 25 Jul 2016 11:48:02 +0200 Subject: [PATCH] fixed undefined index after installation --- bl-kernel/dbpages.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/dbpages.class.php b/bl-kernel/dbpages.class.php index 605dde73..a92fba6e 100644 --- a/bl-kernel/dbpages.class.php +++ b/bl-kernel/dbpages.class.php @@ -394,7 +394,7 @@ class dbPages extends dbJSON $checksum = md5_file(PATH_PAGES.$key.DS.FILENAME); // If checksum is different, update the post - if( isset($this->db[$key]['md5file']) && + if( !isset($this->db[$key]['md5file']) || $this->db[$key]['md5file']!==$checksum ) { // LOG