diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-24 11:43:06 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-24 11:43:06 +0100 |
commit | 8d8f625ea20e10cf6fb053fab73c2ef7a559dc87 (patch) | |
tree | 128bde5e13c96e842ec317366ffebbf09940f6ef /app/class/user.php | |
parent | e6a313f0ce599e14f2d6c55c8080582f0d539d10 (diff) | |
download | wcms-8d8f625ea20e10cf6fb053fab73c2ef7a559dc87.tar.gz wcms-8d8f625ea20e10cf6fb053fab73c2ef7a559dc87.zip |
user delete
Diffstat (limited to 'app/class/user.php')
-rw-r--r-- | app/class/user.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/class/user.php b/app/class/user.php index fa6589c..8fb152f 100644 --- a/app/class/user.php +++ b/app/class/user.php @@ -59,8 +59,9 @@ class User public function setid($id) { + $id = idclean($id); if (strlen($id) < Model::MAX_ID_LENGTH and is_string($id)) { - $this->id = idclean($id); + $this->id = $id; } } |