We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc86162 commit 4a93000Copy full SHA for 4a93000
src/AbraFlexi/RW.php
@@ -110,7 +110,7 @@ public function parseResponse($responseDecoded, $responseCode) {
110
$this->responseStats = array_key_exists('stats',
111
$responseDecoded) ? (isset($responseDecoded['stats'][0]) ? array_map('intval', $responseDecoded['stats'][0]) : array_map('intval', $responseDecoded['stats'])) : null;
112
if (isset($responseDecoded[$this->resultField][0]['id'])) {
113
- $this->lastInsertedID = $responseDecoded[$this->resultField][0]['id'];
+ $this->lastInsertedID = intval($responseDecoded[$this->resultField][0]['id']);
114
$this->setMyKey($this->lastInsertedID);
115
} else {
116
$this->lastInsertedID = null;
0 commit comments