fixed isBundled() check when remote info is unavailable

This commit is contained in:
Andreas Gohr 2015-05-25 10:41:49 +02:00
parent 047eab22fc
commit 18f4ec973d
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class helper_plugin_extension_extension extends DokuWiki_Plugin {
*/
public function isBundled() {
if (!empty($this->remoteInfo['bundled'])) return $this->remoteInfo['bundled'];
return in_array($this->base,
return in_array($this->id,
array(
'authad', 'authldap', 'authmysql', 'authpgsql', 'authplain', 'acl', 'info', 'extension',
'revert', 'popularity', 'config', 'safefnrecode', 'testing', 'template:dokuwiki'