File inc/bug.inc.php changed (mode: 100644) (index 40cf306..6c14725) |
... |
... |
function rg_bug_edit($db, $login_ui, $ri, $data) |
457 |
457 |
$data['ip'] = $ip; |
$data['ip'] = $ip; |
458 |
458 |
$data['repo_id'] = $ri['repo_id']; |
$data['repo_id'] = $ri['repo_id']; |
459 |
459 |
$data['uid'] = $login_ui['uid']; |
$data['uid'] = $login_ui['uid']; |
460 |
|
$data['deleted'] = 0; |
|
461 |
460 |
if ($add == 1) { |
if ($add == 1) { |
|
461 |
|
$data['deleted'] = 0; |
462 |
462 |
$sql = "INSERT INTO bugs (bug_id, itime, utime, repo_id" |
$sql = "INSERT INTO bugs (bug_id, itime, utime, repo_id" |
463 |
463 |
. ", uid, ip, title, body, state, assigned_uid" |
. ", uid, ip, title, body, state, assigned_uid" |
464 |
464 |
. ", deleted)" |
. ", deleted)" |