Closed tilman-schieber closed 12 years ago
issue updated. was a duplicate with other user_model issues.
make sure you work on a recent version
//TODO: implement and document get_usertype() and get_field(). Both return a single integer indicating the usertypeID or fieldID of the user.
your functions do not return integers. they are also not commented correctly. Like stated in the documentation you should use active record queries and not direct sql. Also you did not commit to master branch Please put a little more work into this next time.
models/user_model.php
line 54: implement and document get_usertype() and get_field(). Both return a single integer indicating the usertypeID or fieldID of the user.