Only call select_apps if enabled_apps is not null.

This commit is contained in:
uriel 2008-12-21 09:47:08 +01:00
parent 270c9999a0
commit c63cb84e94

View File

@ -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