Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #19 from jelovac/master
Browse files Browse the repository at this point in the history
BugFix for multiple shorten request new params overide old params
  • Loading branch information
jelovac committed May 5, 2015
2 parents ab2a9e5 + 529d935 commit 6344328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jelovac/Bitly4laravel/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function make($action, array $params = array())
$this->requestParams['format'] = $this->responseFormat;

if (!empty($params)) {
$this->requestParams = array_merge($params, $this->requestParams);
$this->requestParams = array_merge($this->requestParams , $params);
}

if ($this->cacheEnabled) {
Expand Down

0 comments on commit 6344328

Please sign in to comment.