aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/AnnotationBundle/Entity
diff options
context:
space:
mode:
authoradev <adev2000@gmail.com>2019-10-27 18:51:32 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-11-27 14:38:35 +0100
commit8197f08266256f55767666b90be47f585c7a6d28 (patch)
tree528d86ecd9fca0903c6747480474d251a19c817d /src/Wallabag/AnnotationBundle/Entity
parenta4064347015e169b309153f214e2bb5ec17fde21 (diff)
downloadwallabag-8197f08266256f55767666b90be47f585c7a6d28.tar.gz
wallabag-8197f08266256f55767666b90be47f585c7a6d28.tar.zst
wallabag-8197f08266256f55767666b90be47f585c7a6d28.zip
API return an error with empty quote
Fix #4137
Diffstat (limited to 'src/Wallabag/AnnotationBundle/Entity')
-rw-r--r--src/Wallabag/AnnotationBundle/Entity/Annotation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/AnnotationBundle/Entity/Annotation.php b/src/Wallabag/AnnotationBundle/Entity/Annotation.php
index a180d504..ee7c1931 100644
--- a/src/Wallabag/AnnotationBundle/Entity/Annotation.php
+++ b/src/Wallabag/AnnotationBundle/Entity/Annotation.php
@@ -60,6 +60,7 @@ class Annotation
60 /** 60 /**
61 * @var string 61 * @var string
62 * 62 *
63 * @Assert\NotNull()
63 * @Assert\Length( 64 * @Assert\Length(
64 * max = 10000, 65 * max = 10000,
65 * maxMessage = "validator.quote_length_too_high" 66 * maxMessage = "validator.quote_length_too_high"