Skip to content

Commit

Permalink
Update helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
libern committed Dec 24, 2016
1 parent 699c8d2 commit 4e932d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Someline/Foundation/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function current_auth_user()
function current_full_url($withQueryString = true)
{
$url = \Request::url();
$query = $withQueryString ? $_SERVER['QUERY_STRING'] : null;
$query = $withQueryString ? (isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : null) : null;

if ($query) {
$path = \Request::path();
Expand Down

0 comments on commit 4e932d0

Please sign in to comment.