Skip to content

Commit 5d36ab0

Browse files
committed
Merge pull request #179 from crazedr0m/codeCosmetic
* bit cosmetic
2 parents 06d0c74 + 5cd2f33 commit 5d36ab0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

main/Net/Http/HeaderUtils.class.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ public static function redirectBack()
3636
self::$headerSent = true;
3737
self::$redirectSent = true;
3838
return $_SERVER['HTTP_REFERER'];
39-
} else
40-
return false;
39+
}
40+
41+
return false;
4142
}
4243

4344
public static function getRequestHeaderList()
@@ -122,9 +123,7 @@ public static function sendNotCachedHeader()
122123
public static function sendContentLength($length)
123124
{
124125
Assert::isInteger($length);
125-
126126
header("Content-Length: {$length}");
127-
128127
self::$headerSent = true;
129128
}
130129

0 commit comments

Comments
 (0)