Skip to content

Commit

Permalink
Ensure preference is initialised to a default value
Browse files Browse the repository at this point in the history
  • Loading branch information
adhawkins committed May 20, 2016
1 parent 3c385b8 commit dad2a31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SimpleLibraryViews/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ sub initPlugin {

$log->info("In initPlugin for SimpleLibraryViews");

$prefs->init({
libraries => ''
});

if ( main::WEBUI ) {
Plugins::SimpleLibraryViews::Settings->new;
}
Expand Down

0 comments on commit dad2a31

Please sign in to comment.