From b84a80559a1167b5500fbc5eb4965d3b08b371ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 23 Jan 2015 14:58:17 +0100 Subject: some parameters, new entry form, etc. --- src/WallabagBundle/Entity/Entries.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/WallabagBundle/Entity/Entries.php') diff --git a/src/WallabagBundle/Entity/Entries.php b/src/WallabagBundle/Entity/Entries.php index b364e0c3..5849a216 100644 --- a/src/WallabagBundle/Entity/Entries.php +++ b/src/WallabagBundle/Entity/Entries.php @@ -3,6 +3,7 @@ namespace WallabagBundle\Entity; use Doctrine\ORM\Mapping as ORM; +use Symfony\Component\Validator\Constraints as Assert; /** * Entries @@ -31,6 +32,7 @@ class Entries /** * @var string * + * @Assert\NotBlank() * @ORM\Column(name="url", type="text", nullable=true) */ private $url; -- cgit v1.2.3