fixed undefined index after installation
This commit is contained in:
parent
3d06ce2a24
commit
1f6538980b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue