Skip to content

Commit

Permalink
change to use pcookie->tostring
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Dec 31, 2018
1 parent 2c425b7 commit 1a611d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"require": {
"ext-mbstring": "*",
"pmvc/pmvc": "*",
"pmvc-plugin/cookie": "*",
"pmvc-plugin/curl": "*"
},
"minimum-stability": "dev"
Expand Down
2 changes: 1 addition & 1 deletion src/_ask.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function ask($minionsServer, $curl, $more=null)
)
);
}
$options[CURLOPT_COOKIE] = join('; ', $cookies);
$options[CURLOPT_COOKIE] = $pCookie->toString($cookies);
}

$host = $this->_getHost($minionsServer);
Expand Down

0 comments on commit 1a611d8

Please sign in to comment.