Skip to content
Snippets Groups Projects
Commit 54ff7ecf authored by efalcy's avatar efalcy
Browse files

Sitotheque : suppression de la limite du nb de caracteres des commentaires

parent e4259646
Branches
Tags
No related merge requests found
......@@ -230,8 +230,8 @@ class Class_Sitotheque extends Storm_Model_Abstract {
$this->check(strlen_utf8($this->getUrl()) <= 250,
$this->_("Le champ 'Url' doit être inférieur à 250 caractères"));
$this->check(strlen_utf8($this->getDescription()) <= 250,
$this->_("Le champ 'Commentaire' doit être inférieur à 250 caractères"));
// $this->check(strlen_utf8($this->getDescription()) <= 250,
// $this->_("Le champ 'Commentaire' doit être inférieur à 250 caractères"));
$url_validator = new ZendAfi_Validate_Url();
if (!$url_validator->isValid($this->getUrl())) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment