fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [7814]


From: Torstein
Subject: [Fmsystem-commits] [7814]
Date: Wed, 05 Oct 2011 05:48:58 +0000

Revision: 7814
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7814
Author:   vator
Date:     2011-10-05 05:48:57 +0000 (Wed, 05 Oct 2011)
Log Message:
-----------


Modified Paths:
--------------
    trunk/rental/inc/class.uiparty.inc.php

Modified: trunk/rental/inc/class.uiparty.inc.php
===================================================================
--- trunk/rental/inc/class.uiparty.inc.php      2011-10-04 14:18:35 UTC (rev 
7813)
+++ trunk/rental/inc/class.uiparty.inc.php      2011-10-05 05:48:57 UTC (rev 
7814)
@@ -4,6 +4,7 @@
 phpgw::import_class('rental.socontract');
 phpgw::import_class('rental.sodocument');
 phpgw::import_class('rental.bofellesdata');
+phpgw::import_class('rental.bofellesdata_lokal');
 include_class('rental', 'party', 'inc/model/');
 include_class('rental', 'unit', 'inc/model/');
 include_class('rental', 'location_hierarchy', 'inc/locations/');
@@ -515,7 +516,7 @@
                                $party->set_comment(phpgw::get_var('comment'));
                                
//$party->set_location_id(phpgw::get_var('location_id'));
                                
$party->set_org_enhet_id(phpgw::get_var('org_enhet_id'));
-                               
$party->set_org_unit_person(phpgw::get_var('org_unit_person'));
+                               
$party->set_unit_person(phpgw::get_var('unit_person'));
                                
                                
if(rental_soparty::get_instance()->store($party)) // ... and then try to store 
the object
                                {
@@ -611,7 +612,7 @@
                                        return;
                                }
                                
-                               $bofelles = rental_bofellesdata::get_instance();
+                               $bofelles = 
rental_bofellesdata_lokal::get_instance();
                                
                                $org_unit_with_leader = 
$bofelles->get_result_unit_with_leader($org_unit_id);
                                $org_department = 
$bofelles->get_department_for_org_unit($org_unit_id);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]