Only call select_apps if enabled_apps is not null.
This commit is contained in:
parent
270c9999a0
commit
c63cb84e94
@ -195,7 +195,7 @@ fn select_handler {
|
|||||||
set_handler dir_listing_handler $body
|
set_handler dir_listing_handler $body
|
||||||
|
|
||||||
# Apps
|
# Apps
|
||||||
if not if(select_apps)
|
if not if(! ~ $#enabled_apps 0 && select_apps)
|
||||||
set_handler app_handler
|
set_handler app_handler
|
||||||
|
|
||||||
# File not found
|
# File not found
|
||||||
|
Loading…
Reference in New Issue
Block a user