Quote:
Originally Posted by Namaless
Another fix (I have fixed in old version, but with new version you have recreate bug).
For fetch_musername require all user informations. THis is fixed function:
PHP Code:
function tagusername($userid, $username) { global $db, $vbulletin; $tagusername = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid = $userid;"); if ($tagusername['username'] == $username) { return fetch_musername($tagusername); } else { return $username; } }
Get this
Bye !
|
are you sure that this function require all informations???
works with only usegroupid and username.
if you see the functions inside the file functions.php you can see that this functions require only "username" and "usergroupid".
bye