kopia lustrzana https://github.com/friendica/friendica
Fix unsetting non-existent index in Addon::$addons on uninstall
rodzic
d6b31dad06
commit
c60a65c423
|
@ -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