fixed undefined index after installation
This commit is contained in:
parent
5495e5b4bc
commit
ed00e54e64
|
@ -394,7 +394,8 @@ class dbPages extends dbJSON
|
||||||
$checksum = md5_file(PATH_PAGES.$key.DS.FILENAME);
|
$checksum = md5_file(PATH_PAGES.$key.DS.FILENAME);
|
||||||
|
|
||||||
// If checksum is different, update the post
|
// 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
|
||||||
Log::set('CLI MODE - Different md5 checksum, key: '.$key);
|
Log::set('CLI MODE - Different md5 checksum, key: '.$key);
|
||||||
|
|
Loading…
Reference in New Issue