You are here

function _taxonomy_image_exists in Taxonomy Image 5

Same name and namespace in other branches
  1. 6 taxonomy_image.module \_taxonomy_image_exists()

File

./taxonomy_image.module, line 1066
taxonomy_image.module Simple module for providing an association between taxonomy terms and images. Written by Jeremy Andrews <jeremy@kerneltrap.org>, May 2004.

Code

function _taxonomy_image_exists($tid) {
  if (db_fetch_object(db_query('SELECT path FROM {term_image} WHERE tid=%d', $tid))) {
    return TRUE;
  }
  return FALSE;
}