function merci_prepare in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Same name and namespace in other branches
- 6.2 merci.module \merci_prepare()
Implementation of hook_prepare().
File
- ./
merci.module, line 213 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_prepare(&$node) {
if (!isset($node->merci_reservation_status)) {
$node->merci_reservation_status = variable_get('merci_default_reservation_status', strval(MERCI_STATUS_UNCONFIRMED));
}
}