fixed undefined index after installation

This commit is contained in:
janxb 2016-07-25 11:12:06 +02:00
parent 5495e5b4bc
commit ed00e54e64
1 changed files with 2 additions and 1 deletions

View File

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