r5837 - branches/bmas-staging/lib/org/freemedsoftware/module

0 views
Skip to first unread message

subve...@svn.freemedsoftware.org

unread,
Sep 2, 2010, 9:19:11 AM9/2/10
to freemed-d...@googlegroups.com
Author: hamid
Date: 2010-09-02 09:19:10 -0400 (Thu, 02 Sep 2010)
New Revision: 5837

Modified:
branches/bmas-staging/lib/org/freemedsoftware/module/TreatmentInitialIntake.class.php
Log:


Modified: branches/bmas-staging/lib/org/freemedsoftware/module/TreatmentInitialIntake.class.php
===================================================================
--- branches/bmas-staging/lib/org/freemedsoftware/module/TreatmentInitialIntake.class.php 2010-09-02 06:50:47 UTC (rev 5836)
+++ branches/bmas-staging/lib/org/freemedsoftware/module/TreatmentInitialIntake.class.php 2010-09-02 13:19:10 UTC (rev 5837)
@@ -99,7 +99,15 @@
$data['mhdxid'] = $mhdx_id;
$data['patientsubstanceid'] = $patientsubstance_id;

- return $this->add($data);
+
+ $id = $this->add($data);
+
+ $return['id'] = $id;
+ $return['saintakeId'] = $saintake_id;
+ $return['mhdxid'] = $mhdx_id;
+ $return['patientsubstanceid'] = $patientsubstance_id;
+
+ return $return;
}

protected function mod_pre ( &$data ) {

Reply all
Reply to author
Forward
0 new messages