Skip to content

Commit

Permalink
Fixing the check
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Sep 21, 2015
1 parent cbeef75 commit 08a843f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Localization.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function getNonLocalizedURL($url = null)
*/
public function getLocalizedURL($locale = null, $url = null, $attributes = [])
{
if ($locale === null) {
if (is_null($locale)) {
$locale = $this->getCurrentLocale();
}

Expand Down

0 comments on commit 08a843f

Please sign in to comment.