fixed undefined index after installation

This commit is contained in:
janxb 2016-07-25 11:48:02 +02:00
parent 3d06ce2a24
commit 1f6538980b
1 changed files with 1 additions and 1 deletions

View File

@ -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