Skip to content

Commit fa2040d

Browse files
authored
fix undefined variable: modified
as seen here littlebizzy/slickstack#59 littlebizzy/slickstack#59
1 parent 1150c8d commit fa2040d

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)