Results 1 to 5 of 5

Thread: Possible Bug in Adding Users

  1. #1
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default Possible Bug in Adding Users

    Not sure if this is a bug or not, but I was trying to add a user. The user was being added to the "Customer" Group. The Department was then greyed out, as it should be, and no selection can be made. After clicking on "Add", I would get the following error, "Department ID field is required"

    A screen shot is being attached for better explanation.
    Attached Images Attached Images
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Yup, that would be a bug. This will be fixed for the next release.

  3. #3
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    WAHOOOO!!!! I should win a prize for that!! HAHAHAHA

    We should add another contest... We can have POTM and FTBOTM = Find The Bug Of The Month
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    lol you can't get away from bugs, someone always manages to find something

  5. #5
    Join Date
    Apr 2008
    Posts
    20

    Default

    Thank you for finding the bug
    It is actually quite a simple one to fix. Find and open user.php file on folder admin and go to line 125 and 164. you should see this code

    if($group_id != 1) $form->IsEmpty("dept_id");

    modify it on both lines into this :

    if($group_id == 2) $form->IsEmpty("dept_id");

    and the bug will be gone
    Last edited by ddewayanto; 09-09-2008 at 11:07 PM.

Similar Threads

  1. Not adding users?
    By carlheaton9898 in forum v5.x
    Replies: 1
    Last Post: 02-11-2008, 09:01 AM
  2. my Users
    By SKh in forum v5.x
    Replies: 0
    Last Post: 04-13-2007, 02:32 AM
  3. Logged users only
    By beto in forum v5.x
    Replies: 3
    Last Post: 12-21-2006, 06:59 PM
  4. xxx users online
    By landuyt in forum v5.x
    Replies: 2
    Last Post: 02-21-2005, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •