Skip to content

Commit

Permalink
Use a class constant for easier extandability.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark S committed Sep 14, 2016
1 parent 59fec3d commit ecb3d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/AuthComponent.php
Expand Up @@ -760,7 +760,7 @@ protected function _getUser()
*/
public function redirectUrl($url = null)
{
$redirectUrl = $this->request->query(self::QUERY_STRING_REDIRECT);
$redirectUrl = $this->request->query(static::QUERY_STRING_REDIRECT);
if ($redirectUrl && (substr($redirectUrl, 0, 1) !== '/')) {
$redirectUrl = null;
}
Expand Down

0 comments on commit ecb3d33

Please sign in to comment.