From 2c7cc59a600f45d1735b07b5dc69873af7cb9320 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 8 Jan 2017 17:33:35 +0000 Subject: [PATCH] Fix utterly bogus default block spec (from gallery days!) --- modules/ORB/BlockSelector.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ORB/BlockSelector.pm b/modules/ORB/BlockSelector.pm index 24fc0ab..389203e 100755 --- a/modules/ORB/BlockSelector.pm +++ b/modules/ORB/BlockSelector.pm @@ -85,8 +85,8 @@ sub get_block { # Split along slashes my @args = split(/\//, $pathinfo); - # Defaults the block to the gallery, and clear the pathinfo and pathinfo for safety - my $block = $settings -> {"config"} -> {"gallery_block"}; + # Defaults the block, and clear the pathinfo and pathinfo for safety + my $block = $settings -> {"config"} -> {"default_block"}; $cgi -> delete('pathinfo', 'api'); # If a single item remains in the argument, it is a block name