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