projects
/
ctracker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e3094e
)
Fixed
author
Roland Häder
<haeder@hmmdeutschland.de>
Mon, 3 Nov 2014 09:53:26 +0000
(10:53 +0100)
committer
Roland Häder
<haeder@hmmdeutschland.de>
Mon, 3 Nov 2014 09:53:26 +0000
(10:53 +0100)
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
libs/lib_general.php
patch
|
blob
|
history
diff --git
a/libs/lib_general.php
b/libs/lib_general.php
index 62062d7b2586bf4d094520b762cd11d0ac40ef6a..21cd6ab0df3d5bfa4d3ce4856d9d953b6297fe3c 100644
(file)
--- a/
libs/lib_general.php
+++ b/
libs/lib_general.php
@@
-99,7
+99,7
@@
function determineCrackerTrackerRealRemoteAddress () {
if ($address == 'unknown') {
// Invalid IP somehow given
$address = '0.0.0.0';
- elseif (strstr($address, ',')) {
+
}
elseif (strstr($address, ',')) {
// This strips out the real address from proxy output
$addressArray = explode(',', $address);
$address = $addressArray[0];