From d3e2fae66d74f79ef7dcfe2e24f47efaa5c106e2 Mon Sep 17 00:00:00 2001
From: David King <imkingdavid@gmail.com>
Date: Fri, 15 Feb 2013 16:48:43 -0500
Subject: [ticket/11334] Add a test for the controller helper URL method

PHPBB3-11334
---
 phpBB/includes/controller/helper.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'phpBB/includes')

diff --git a/phpBB/includes/controller/helper.php b/phpBB/includes/controller/helper.php
index 2098f51edf..0e64829874 100644
--- a/phpBB/includes/controller/helper.php
+++ b/phpBB/includes/controller/helper.php
@@ -55,7 +55,7 @@ class phpbb_controller_helper
 	* @param string $phpbb_root_path phpBB root path
 	* @param string $php_ext PHP extension
 	*/
-	public function __construct(phpbb_template $template, phpbb_user $user, $phpbb_root_path, $php_ext)
+	public function __construct(phpbb_template $template = null, phpbb_user $user = null, $phpbb_root_path = './', $php_ext = '.php')
 	{
 		$this->template = $template;
 		$this->user = $user;
-- 
cgit v1.2.1