From e8566a57cf1b9cc2eed10429f27840d17da945ef Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 23 Dec 2018 18:20:57 +0100 Subject: feature users --- app/class/art2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/class/art2.php') diff --git a/app/class/art2.php b/app/class/art2.php index 6f2d4d8..524caf6 100644 --- a/app/class/art2.php +++ b/app/class/art2.php @@ -424,7 +424,7 @@ class Art2 public function setid($id) { - if (strlen($id) < self::LEN and is_string($id)) { + if (strlen($id) < Model::MAX_ID_LENGTH and is_string($id)) { $this->id = strip_tags(strtolower(str_replace(" ", "", $id))); } } -- cgit v1.2.3