The function updates for level changes but not for promotions/demotions. This is a trivial fix. I changed the sql in line 127 to be as follows:

$sql_update = "UPDATE {wowarmory_roster} SET level = " . $data['level'] . ", achPoints = ". $data['achPoints'] . ", rank = " . $data['rank'] . " WHERE ID = " . $id;

All I did was to add the rank value to the SQL statement. What prompted this bugfix was the simple that my promotion didn't show up on the guild website. :)

CommentFileSizeAuthor
#2 wowarmory_updatefix.diff632 bytesnhdriver4

Comments

nhdriver4’s picture

Added to the next commit. Thanks boftx.

nhdriver4’s picture

StatusFileSize
new632 bytes
nhdriver4’s picture

Assigned: Unassigned » nhdriver4
nhdriver4’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.