Permalink
Browse files

restored the storing method to work

  • Loading branch information...
caseysoftware committed Aug 15, 2014
1 parent a6980b5 commit 3c3131d4adf2694cfe9ad28e6cd40e998c9a31ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 do_item_aed.php
@@ -204,7 +204,7 @@
if ($new_item) {// new item creation
$status_log_msg = $hditem->log_status(0,$AppUI->_('Ticket').' '.$AppUI->_('Created'),'',1);
//Lets create a log for the item creation:
$obj = new CHelpdesk_Log();
$obj = new CHelpDesk();
$new_item_log = array('task_log_id' => 0,'task_log_help_desk_id' => $hditem->item_id, 'task_log_creator' => $AppUI->user_id, 'task_log_name' => 'Item Created: '.$_POST['item_title'], 'task_log_date' => $hditem->item_created, 'task_log_description' => $_POST['item_title'], 'task_log_hours' => $_POST['task_log_hours'], 'task_log_costcode' => $_POST['task_log_costcode']);
if (!$obj->bind( $new_item_log )) {
$AppUI->setMsg( $obj->getError(), UI_MSG_ERROR );

0 comments on commit 3c3131d

Please sign in to comment.