Skip to content

Commit

Permalink
fixing PHP < 5.5 issue per #1407
Browse files Browse the repository at this point in the history
  • Loading branch information
rclations committed Aug 3, 2017
1 parent cd3b903 commit bff5fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function largo_get_current_url() {
$is_ssl = is_ssl();
$url = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];

if ( ! empty( $is_ssl ) ) {
if ( $is_ssl ) {
return "https://" . $url;
} else {
return "http://" . $url;
Expand Down

0 comments on commit bff5fb0

Please sign in to comment.