Skip to content

Commit 48f3286

Browse files
authored
Merge pull request #13 from backamblock/patch-1
fix undefined variable: modified
2 parents 1150c8d + fa2040d commit 48f3286

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

helpers/updater.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public function httpRequestArgs($args, $url) {
121121
}
122122

123123
// Plugins list
124+
$modified = false;
124125
if (!empty($data['plugins']) && is_array($data['plugins']) && isset($data['plugins'][$this->key])) {
125126
$modified = true;
126127
unset($data['plugins'][$this->key]);

0 commit comments

Comments
 (0)