X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FAnnotationBundle%2FEntity%2FAnnotation.php;fp=src%2FWallabag%2FAnnotationBundle%2FEntity%2FAnnotation.php;h=ee7c19310108b904d6ac1c6533b00b14d996841d;hb=8197f08266256f55767666b90be47f585c7a6d28;hp=a180d504786c866686a70e34b8510d133e9e3b11;hpb=a4064347015e169b309153f214e2bb5ec17fde21;p=github%2Fwallabag%2Fwallabag.git 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 /** * @var string * + * @Assert\NotNull() * @Assert\Length( * max = 10000, * maxMessage = "validator.quote_length_too_high"