Fix warning in install.php on PHP 8
Warning: Undefined array key "pop" in install.php on line 427 In PHP 8, attempting to read an undefined array key throws a warning instead of a notice as in earlier versions [1]. [1]: https://www.php.net/manual/en/migration80.incompatible.php
This commit is contained in:
parent
7347c7c107
commit
ee4f28e375
|
@ -424,7 +424,7 @@ EOT;
|
|||
}
|
||||
|
||||
// enable popularity submission
|
||||
if($d['pop']){
|
||||
if(isset($d['pop']) && $d['pop']){
|
||||
@touch(DOKU_INC.'data/cache/autosubmit.txt');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue