Fix utterly bogus default block spec (from gallery days!)
This commit is contained in:
parent
ede2bfd2d7
commit
2c7cc59a60
@ -85,8 +85,8 @@ sub get_block {
|
|||||||
# Split along slashes
|
# Split along slashes
|
||||||
my @args = split(/\//, $pathinfo);
|
my @args = split(/\//, $pathinfo);
|
||||||
|
|
||||||
# Defaults the block to the gallery, and clear the pathinfo and pathinfo for safety
|
# Defaults the block, and clear the pathinfo and pathinfo for safety
|
||||||
my $block = $settings -> {"config"} -> {"gallery_block"};
|
my $block = $settings -> {"config"} -> {"default_block"};
|
||||||
$cgi -> delete('pathinfo', 'api');
|
$cgi -> delete('pathinfo', 'api');
|
||||||
|
|
||||||
# If a single item remains in the argument, it is a block name
|
# If a single item remains in the argument, it is a block name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user