mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Also validate used variables when creating tagging rules
This commit is contained in:
parent
3447d1ee07
commit
1dc4e5da2e
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class TaggingRule
|
|||
* @var string
|
||||
*
|
||||
* @Assert\NotBlank()
|
||||
* @RulerZAssert\ValidRule()
|
||||
* @RulerZAssert\ValidRule(allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"})
|
||||
* @ORM\Column(name="rule", type="string", nullable=false)
|
||||
*/
|
||||
private $rule;
|
||||
|
|
Loading…
Reference in a new issue