Closed (fixed)
Project:
WoW Armory
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Sep 2009 at 05:17 UTC
Updated:
6 Apr 2010 at 01:20 UTC
Jump to comment: Most recent file
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. :)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | wowarmory_updatefix.diff | 632 bytes | nhdriver4 |
Comments
Comment #1
nhdriver4 commentedAdded to the next commit. Thanks boftx.
Comment #2
nhdriver4 commentedComment #3
nhdriver4 commentedComment #4
nhdriver4 commented