Closed micgro42 closed 8 years ago
During animal-creation the new animals can get a set of pre-deactivated plugins, as defined in $conf['deactivated plugins'].
The array_filter without callback causes all elements of the array to discarded, i.e. it returns always an empty array.
array_filter
See: https://github.com/cosmocode/dokuwiki-plugin-farmer/blob/36282384980ddf0e8c163acad5205d76724ba521/admin/new.php#L218
Somehow the bug has vanished and I cannot reproduced it anymore. Should it reappear I will reopen this ticket. Sorry for bothering.
During animal-creation the new animals can get a set of pre-deactivated plugins, as defined in $conf['deactivated plugins'].
The
array_filter
without callback causes all elements of the array to discarded, i.e. it returns always an empty array.See: https://github.com/cosmocode/dokuwiki-plugin-farmer/blob/36282384980ddf0e8c163acad5205d76724ba521/admin/new.php#L218