Aleksander Machniak
2015-08-05 5ed8ade7635329008c158f84514256910dd70261
Fix bug where some plugins could be initialized more than one time
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_plugin_api.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_plugin_api.php
@@ -95,7 +95,7 @@
        foreach ($this->plugins as $plugin) {
            // ... task, request type and framed mode
            if (!$this->plugins_initialized[$plugin_name] && !$this->filter($plugin)) {
            if (!$this->plugins_initialized[$plugin->ID] && !$this->filter($plugin)) {
                $plugin->init();
                $this->plugins_initialized[$plugin->ID] = $plugin;
            }