RSS Feed/News Account::preDispatchController() updates breaks /account URL for XF2.2.x

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
33,163
Points
823

Reputation:

The rollup update includes this snippet;

PHP:

Code:
	protected function preDispatchController($action, ParameterBag $params)
	{
		$this->response()->header('Cache-Control', 'no-store');

$this->assertRegistrationRequired();
}

Except $this->response() doesn't exist

The XF2.3 version is;
PHP:

Code:
	protected function preDispatchController($action, ParameterBag $params)
	{
		$this->assertRegistrationRequired();

$this->app()->response()->header('Cache-Control', 'no-store');
	}

Continue reading...
 
Status
Not open for further replies.
Top