diff --git a/core/trunk/core/class/users_controler.php b/core/trunk/core/class/users_controler.php index c35a8536ffbc8849379b48ef8e88ed47c312b30a..733735729eea9f8430461cbf979622fd519c05c1 100644 --- a/core/trunk/core/class/users_controler.php +++ b/core/trunk/core/class/users_controler.php @@ -365,6 +365,11 @@ class users_controler extends ObjectControler implements ObjectControlerIF { $error = ""; $f = new functions(); + + if (strpos($user->user_id, "'") !== false) { + $error .= _USER_ID . ' '._WRONG_FORMAT . '#'; + } + $user->user_id = $f->protect_string_db( $f->wash($user->user_id, 'no', _THE_ID, 'yes', 0, 128) );