Skip to content

Commit 54928ba

Browse files
committed
fixed typo
1 parent 34f51d9 commit 54928ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base_facebook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ protected function getUrl($name, $path='', $params=array()) {
11571157
protected function getHttpHost() {
11581158
if ($this->trustForwarded && isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
11591159
$forwardProxies = explode(',', $_SERVER['HTTP_X_FORWARDED_HOST']);
1160-
$forwardProxies = array_filter($forwarders);
1160+
$forwardProxies = array_filter($forwardProxies);
11611161
return current($forwardProxies);
11621162
}
11631163
return $_SERVER['HTTP_HOST'];

0 commit comments

Comments
 (0)