Skip to content

Commit 87d2546

Browse files
committed
Update FieldProvider.php
1 parent c3aae7e commit 87d2546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Understand/UnderstandLaravel5/FieldProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,14 @@ protected function getUrl()
228228

229229
if ( ! starts_with($url, '/'))
230230
{
231-
$url .= '/';
231+
$url = '/' . $url;
232232
}
233233

234234
$queryString = $this->request->getQueryString();
235235

236236
if ($queryString)
237237
{
238-
$url.= '?' . $queryString;
238+
$url .= '?' . $queryString;
239239
}
240240

241241
return $url;

0 commit comments

Comments
 (0)