- Issue created by @jenlampton
- First commit to issue fork.
Fatal error: Unparenthesized
a ? b : c ? d : e
is deprecated. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
for line 1773 and 1774 of httprl.module.
I updated the two lines in question with the following, and it fixed the issue for me.
$location['host'] = (!empty($location['host']) ? $location['host'] : !empty($original_location['host'])) ? $original_location['host'] : $_SERVER['HTTP_HOST'];
$location['port'] = (!empty($location['port']) ? $location['port'] : !empty($original_location['port'])) ? $original_location['port'] : '';
Active
1.0
Code