diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2020-01-30 14:11:03 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2020-01-30 14:11:03 +0300 |
commit | 7811d3526733a35d55ce736f221a99b19cab0156 (patch) | |
tree | 4e566674a1005dea5a0db14b476751cdba728265 | |
parent | 279ace7aafd8920c84c908b6bb21680b26f55ab8 (diff) | |
parent | de76a78190db53182b5a140c364de6fe6d520613 (diff) |
Merge remote-tracking branch 'origin/master'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Db/IndexesRequestBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/IndexesRequestBuilder.php b/lib/Db/IndexesRequestBuilder.php index 5b21a8f..3baeb44 100644 --- a/lib/Db/IndexesRequestBuilder.php +++ b/lib/Db/IndexesRequestBuilder.php @@ -122,7 +122,7 @@ class IndexesRequestBuilder extends CoreRequestBuilder { ->setLastIndex($this->getInt('indexed', $data, 0)); $index->setOptions($this->getArray('options', $data, [])); $index->setErrorCount($this->getInt('err', $data, 0)); - $index->setErrors(json_decode($data['message'], true)); + $index->setErrors($this->getArray('message', $data, [])); return $index; } |