You are here

function user_badges_get_badge in User Badges 5

Same name and namespace in other branches
  1. 6.2 user_badges.module \user_badges_get_badge()
  2. 6 user_badges.module \user_badges_get_badge()

Return badge object for given badge id

1 call to user_badges_get_badge()
user_badges_delete_form in ./user_badges.module

File

./user_badges.module, line 597
@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));
}