This mod will fail if you try to grant an award to a user by username, if their username has a single quote in it. eg my'name.
The fix is simple.
Edit the following files:
- admincp/award.php
- modcp/award.php
Now find the code in these files (there are two instances of it in each file for a total of four).
Code:
WHERE username = '". $vbulletin->GPC['awardusername']
Change it to:
Code:
WHERE username = '". $db->escape_string($vbulletin->GPC['awardusername'])
Note: this bug may be fixed in newer versions or it may already be mentioned here in the mod discussion.. However, it was WAY faster for me to find+fix the bug than to read through the 36 pages of comments on this mod. Apologies if this has already been found. In my defense, the mod download doesn't include this fix in it [yet?].