Explorar o código

Merge pull request #1247 from live627/ca

WrapAction() won't assign a sub template if funtion is set
Arantor %!s(int64=10) %!d(string=hai) anos
pai
achega
efce9dca89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/Themes.php

+ 1 - 1
Sources/Themes.php

@@ -1543,7 +1543,7 @@ function WrapAction()
 		$settings['catch_action']['function']();
 	}
 	// And finally, the main sub template ;).
-	elseif (isset($settings['catch_action']['sub_template']))
+	if (isset($settings['catch_action']['sub_template']))
 		$context['sub_template'] = $settings['catch_action']['sub_template'];
 }