Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed Nov 13, 2016
1 parent d848523 commit 79addd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Saml2/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ public static function getSelfRoutedURLNoQuery()
}

if (!empty(self::getBaseURLPath())) {
if (!empty($route)){
if (!empty($route)) {
$path = explode('/', $route);
$route = self::getBaseURLPath();
$script = array_pop($path);
Expand Down Expand Up @@ -599,7 +599,7 @@ public static function getSelfURL()
}

if (!empty(self::getBaseURLPath())) {
if (!empty($requestURI)){
if (!empty($requestURI)) {
$path = explode('/', $requestURI);
$requestURI = self::getBaseURLPath();
$scriptAndQuery = array_pop($path);
Expand Down

0 comments on commit 79addd1

Please sign in to comment.