Skip to content

Commit 6dec295

Browse files
authored
Update AdminStrategy.php
1 parent 7116d1d commit 6dec295

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Strategy/AdminStrategy.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,11 @@ public function setUrlAnchor()
134134

135135
public function getUrlAnchor()
136136
{
137-
return $this->get('session')->get(self::URL_ANCHOR_POINT);
137+
$url = $this->get('session')->get(self::URL_ANCHOR_POINT);
138+
if(empty($url)){
139+
$url = $this->getEntranceUrl();
140+
}
141+
return $url;
138142
}
139143

140144
public function setPageTag($tag)

0 commit comments

Comments
 (0)