Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 40 → Rev 41

/pm/trunk/plan.php
613,7 → 613,7
$mi_vname = $data[0];
 
$query = "update plan set pl_comment = '";
$query .= GetMessageLang($db, $language, 381, "Statusänderung durch %s", "$mi_nname $mi_vname");
$query .= GetMessageLang($db, $language, 381, "Status�nderung durch %s", "$mi_nname $mi_vname");
$query .= "' where pl_num = $pl_num";
 
if (!QueryDB($db, $query))
823,12 → 823,13
 
$ta_start = time();
$co_task++;
$ta_hash = md5($co_task);
$query = "insert into task (ta_num, ta_plnum, ta_id, ta_name, ";
$query .= "ta_color, ta_shape, ta_meeting, ta_start, ";
$query .= "ta_duration, ta_complete, ta_priority, ta_level, ";
$query .= "ta_phase) values ($co_task, $pl_num, $pt_lfd, ";
$query .= "ta_phase, ta_hash) values ($co_task, $pl_num, $pt_lfd, ";
$query .= "'$pt_name', $pt_color, '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0',";
$query .= "$pt_meeting, $ta_start, 1, 0, 1, $pt_level, $pt_phase)";
$query .= "$pt_meeting, $ta_start, 1, 0, 1, $pt_level, $pt_phase, '$ta_hash')";
 
if (!QueryDB($db, $query)) {
QueryDB($db, "rollback");