#353 (2.2.5) Can't change user hosts

2.2.5
fixed
None
1
2013-06-11
2002-03-23
Benjamin Jemlich
No

When I try to change the host of a User I get a mysql
error.
It's in user_details.php3 somewhere around line 1219
because in line 1216 $local_query is empty.
The query is then UPDATE user SET WHERE Host='%' AND
User='username'
When I change $local_query to $sql_query_cpy in line
1219 it works without problems.

It's in the latest cvs version but I think also in
2.2.5 because the file hasn't changed since then.

Discussion

  • Loïc Chapeaux
    Loïc Chapeaux
    2002-03-24

    Logged In: YES
    user_id=144058

    Hi!

    Thanks for your report. I've just fixed the bug and
    commited the fix into the CVS tree.

    Loc

     
  • Loïc Chapeaux
    Loïc Chapeaux
    2002-03-24

    • milestone: --> 2.2.5
    • priority: 5 --> 1
    • assigned_to: nobody --> loic1
    • summary: Can't change user hosts --> (2.2.5) Can't change user hosts
    • status: open --> open-fixed
     
  • Marc Delisle
    Marc Delisle
    2002-04-21

    • status: open-fixed --> closed-fixed
     
  • Michal Čihař
    Michal Čihař
    2013-06-11

    • Status: closed-fixed --> fixed