diff options
author | Andrew Dolgov <[email protected]> | 2012-12-24 13:45:34 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-24 13:45:34 +0400 |
commit | 19b3992b7855518c6fe05a380b6471902f5be5b7 (patch) | |
tree | d09272c3b28ca21c40dac5cf65dd36fa4e5a586e /classes/pluginhost.php | |
parent | e935c2bc54b22891f2c370d19d3366d94098dcfa (diff) |
remove magpie, fix article filter plugins
Diffstat (limited to 'classes/pluginhost.php')
-rw-r--r-- | classes/pluginhost.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 027d07539..25569302b 100644 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -57,7 +57,11 @@ class PluginHost { } function get_hooks($type) { - return $this->hooks[$type]; + if (isset($this->hooks[$type])) { + return $this->hooks[$type]; + } else { + return array(); + } } function load($classlist) { |