diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-11-27 14:13:10 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-11-27 14:13:10 -0100 |
commit | 1999f06ada41eca67ba59ac07519470ac011be47 (patch) | |
tree | 2ce54748df714068c70431685a72d0f994cbcdbb /lib/Db | |
parent | 4354edbdb40129ddbeff6e943025054c3451d36b (diff) |
fix sql 2
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/CacheDocumentsRequest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Db/CacheDocumentsRequest.php b/lib/Db/CacheDocumentsRequest.php index 83872fa4..6c7f7b68 100644 --- a/lib/Db/CacheDocumentsRequest.php +++ b/lib/Db/CacheDocumentsRequest.php @@ -54,6 +54,7 @@ class CacheDocumentsRequest extends CacheDocumentsRequestBuilder { ->setValue('url', $qb->createNamedParameter($document->getUrl())) ->setValue('media_type', $qb->createNamedParameter($document->getMediaType())) ->setValue('mime_type', $qb->createNamedParameter($document->getMimeType())) + ->setValue('error', $qb->createNamedParameter($document->getError())) ->setValue('local_copy', $qb->createNamedParameter($document->getLocalCopy())) ->setValue('public', $qb->createNamedParameter(($document->isPublic()) ? '1' : '0')) ->setValue( |