Skip to content
Snippets Groups Projects
Commit 46f7962e authored by Ere Maijala's avatar Ere Maijala Committed by Robert Lange
Browse files

Fix url helper to work also in console applications. (#1416)

(cherry picked from commit 4c266e12)
parent 86acacfa
No related merge requests found
......@@ -52,7 +52,7 @@ class Url extends \Laminas\View\Helper\Url
*
* @param Request $request Request object for GET parameters
*/
public function __construct(Request $request)
public function __construct(Request $request = null)
{
$this->request = $request;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment