Correct load_config() return value with improvement in last commit

pull/201/merge
Aleksander Machniak 10 years ago
parent ab5b89b854
commit 5d8f8b59f3

@ -143,7 +143,7 @@ abstract class rcube_plugin
public function load_config($fname = 'config.inc.php') public function load_config($fname = 'config.inc.php')
{ {
if (in_array($fname, $this->loaded_config)) { if (in_array($fname, $this->loaded_config)) {
return; return true;
} }
$this->loaded_config[] = $fname; $this->loaded_config[] = $fname;

Loading…
Cancel
Save