kopia lustrzana https://github.com/friendica/friendica
Merge pull request #6024 from MrPetovan/bug/fix-disabling-addons
Fix unsetting non-existent index in Addon::$addons on uninstallpull/5949/head
commit
920ffab439
|
@ -84,7 +84,7 @@ class Addon extends BaseObject
|
|||
$func();
|
||||
}
|
||||
|
||||
unset(self::$addons[$idx]);
|
||||
unset(self::$addons[array_search($addon, self::$addons)]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue