You are here

function user_badges_get_sku in User Badges 5

File

./user_badges.module, line 920
@brief User Badges module file

Code

function user_badges_get_sku($nid) {
  return db_result(db_query('SELECT sku FROM {ec_product} WHERE nid = %d', $nid));
}