Fix unsetting non-existent index in Addon::$addons on uninstall
This commit is contained in:
parent
d6b31dad06
commit
c60a65c423
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Addon extends BaseObject
|
||||||
$func();
|
$func();
|
||||||
}
|
}
|
||||||
|
|
||||||
unset(self::$addons[$idx]);
|
unset(self::$addons[array_search($addon, self::$addons)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue