important to commit the transaction :)
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 11 Mar 2010 21:11:01 +0000 (21:11 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 11 Mar 2010 21:11:01 +0000 (21:11 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15807 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm

index a041d24..3a25988 100644 (file)
@@ -2356,7 +2356,11 @@ sub new_user_request {
         }
     }
 
-    return ($e->create_acq_user_request($aur_obj) or $e->die_event);
+    $aur_obj = $e->create_acq_user_request($aur_obj) or $e->die_event;
+
+    $e->commit;
+
+    return $aur_obj;
 }