patch from randell lucas for order_pkg to return pkgnum also
[freeside.git] / FS / FS / ClientAPI / MyAccount.pm
index 3c0b0ac..77c1fc8 100644 (file)
@@ -489,7 +489,7 @@ sub order_pkg {
     $cust_pkg->reexport;
   }
 
     $cust_pkg->reexport;
   }
 
-  return { error => '' };
+  return { error => '', pkgnum => $cust_pkg->pkgnum };
 
 }
 
 
 }