diff options
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))); } } |