You are here

function merci_node_type_existing in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2

Same name and namespace in other branches
  1. 7.2 includes/database.inc \merci_node_type_existing()
1 call to merci_node_type_existing()
merci_node_type_save_submit in includes/api.inc
Submit handler for saving MERCI node type data.

File

includes/database.inc, line 85
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_node_type_existing($type) {
  return db_result(db_query("SELECT type FROM {merci_node_type} WHERE type = '%s'", $type));
}