You are here

function pmexpense_pmticket_change in Drupal PM (Project Management) 7

Change ticket_title in expense.

File

pmexpense/pmexpense.module, line 202
Hook implementations and main functions for PM Expense.

Code

function pmexpense_pmticket_change($ticket_nid, $ticket_title) {
  db_update('pmexpense')
    ->fields(array(
    'ticket_title' => $ticket_title,
  ))
    ->condition('ticket_nid', $ticket_nid)
    ->execute();
}