瀏覽代碼

Merge branch 'release-2.1' of https://github.com/SimpleMachines/SMF2.1 into release-2.1

Peter Spicer 11 年之前
父節點
當前提交
448068d196
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'];
 }