Item13116: Can't use an undefined value as a HASH reference
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: SqlPlugin
Branches: master
See
Support.Question1535. Hotfix:
diff --git a/lib/Foswiki/Plugins/SqlPlugin/Core.pm b/lib/Foswiki/Plugins/SqlPlugin/Core.pm
index 1999514..9d06608 100644
--- a/lib/Foswiki/Plugins/SqlPlugin/Core.pm
+++ b/lib/Foswiki/Plugins/SqlPlugin/Core.pm
@@ -44,7 +44,7 @@ sub new {
$this->{defaultDatabase} = $desc->{id} unless defined $this->{defaultDatabase};
}
- %{$this->{accessControls}} = %{$Foswiki::cfg{SqlPlugins}{AccessControl}}
+ %{$this->{accessControls}} = %{$Foswiki::cfg{SqlPlugin}{AccessControl}}
if defined $Foswiki::cfg{SqlPlugin}{AccessControl};
return $this;
--
MichaelDaum - 25 Nov 2014