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