Skip to content

Commit

Permalink
Correct resource used for GetSet::setAll() (fixes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin de Graaf committed Mar 17, 2017
1 parent 8d2baf8 commit 88babe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Values/GetSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function setAll(array $values)
{
if ($this->getResource()) {
if ($this->useLocalResource) {
$this->localResource[] = $values;
$this->localResource = $values;
} else {
$GLOBALS[$this->getResource()] = $values;
}
Expand Down

0 comments on commit 88babe4

Please sign in to comment.