function user_badges_get_badge in User Badges 6
Same name and namespace in other branches
- 5 user_badges.module \user_badges_get_badge()
- 6.2 user_badges.module \user_badges_get_badge()
Return badge object for given badge id
1 call to user_badges_get_badge()
File
- ./
user_badges.module, line 864 - @brief User Badges module file
Code
function user_badges_get_badge($bid) {
return db_fetch_object(db_query('SELECT * FROM {user_badges_badges} WHERE bid = %d', $bid));
}