diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-23 18:20:57 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-23 18:20:57 +0100 |
commit | e8566a57cf1b9cc2eed10429f27840d17da945ef (patch) | |
tree | 9902d9f4dc2e871819af21ede642e50aaab1518b /app/class/art2.php | |
parent | 532cdf4bb82ab7cc6fa7659d9aec3ce122b2ec52 (diff) | |
download | wcms-e8566a57cf1b9cc2eed10429f27840d17da945ef.tar.gz wcms-e8566a57cf1b9cc2eed10429f27840d17da945ef.zip |
feature users
Diffstat (limited to 'app/class/art2.php')
-rw-r--r-- | app/class/art2.php | 2 |
1 files changed, 1 insertions, 1 deletions
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))); } } |