Skip to content

Commit

Permalink
Fix wrong field name in WellWell::Core::plugin_scan_sub.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Oct 14, 2010
1 parent 0e11392 commit a5da81d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WellWell/Core.pm
Expand Up @@ -59,11 +59,11 @@ sub plugin_scan_sub {

for my $plugin (plugins()) {
if (exists $plref->{$plugin}) {
if ($plref->{$plugin}->{status} eq 0) {
if ($plref->{$plugin}->{active} eq 0) {
Vend::Config::config_error("Plugin $plugin used in PLUGIN variable is explicitly disabled in plugins table.");
return;
}
elsif (! defined($plref->{$plugin}->{status})) {
elsif (! defined($plref->{$plugin}->{active})) {
Vend::Config::config_warn("Enabling plugin $plugin in plugins table.");
plugin_enable($dbif, $plugin);
}
Expand Down

0 comments on commit a5da81d

Please sign in to comment.