Skip to content
Snippets Groups Projects
Commit edb76d00 authored by PavelBegunkov's avatar PavelBegunkov
Browse files

fix #1

parent 58094cf8
Branches
Tags
No related merge requests found
...@@ -400,9 +400,10 @@ CREATE PROCEDURE `GetPersonalInfoByID` ( IN `UserID` INT ...@@ -400,9 +400,10 @@ CREATE PROCEDURE `GetPersonalInfoByID` ( IN `UserID` INT
NO SQL NO SQL
BEGIN BEGIN
DECLARE accType INT; DECLARE accType INT;
SELECT accounts.Type SELECT user_roles.Type
INTO accType INTO accType
FROM accounts FROM `accounts`
INNER JOIN `user_roles` ON accounts.UserRoleID = user_roles.ID
WHERE accounts.ID = UserID WHERE accounts.ID = UserID
LIMIT 1; LIMIT 1;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment