Item13116: Can't use an undefined value as a HASH reference

pencil
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: SqlPlugin
Branches: master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
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

 

ItemTemplate edit

Summary Can't use an undefined value as a HASH reference
ReportedBy MichaelDaum
Codebase
SVN Range
AppliesTo Extension
Component SqlPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins SqlPlugin:532a3aa07760
ReleasedIn n/a
CheckinsOnBranches master
trunkCheckins
masterCheckins SqlPlugin:532a3aa07760
ItemBranchCheckins
Release01x01Checkins
Topic revision: r1 - 25 Nov 2014, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy