Skip to content

Commit

Permalink
Add pledge items to inventory when creating with status 'delivered'
Browse files Browse the repository at this point in the history
  • Loading branch information
kiang committed Jul 13, 2010
1 parent eb13c60 commit cc03d5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/rms/lib_rms.inc
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,9 @@ function _shn_rms_add_pledge() {
display_errors();
return false;
} else {
unset($_SESSION['rms_pledge']);
_shn_rms_add_plgitems($plg_uuid);
_shn_rms_pledge_setstat($plg_uuid, $_SESSION['rms_pledge']['status']);
unset($_SESSION['rms_pledge']);
return $plg_uuid;
}
}
Expand Down

0 comments on commit cc03d5c

Please sign in to comment.