fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7772] Added field unit leader


From: Torstein
Subject: [Fmsystem-commits] [7772] Added field unit leader
Date: Mon, 03 Oct 2011 07:39:02 +0000

Revision: 7772
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7772
Author:   vator
Date:     2011-10-03 07:39:02 +0000 (Mon, 03 Oct 2011)
Log Message:
-----------
Added field unit leader

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-03 07:38:31 UTC (rev 
7771)
+++ trunk/rental/inc/class.uiparty.inc.php      2011-10-03 07:39:02 UTC (rev 
7772)
@@ -599,11 +599,14 @@
                                        
                        if(isset($org_unit_id) && $org_unit_id > 0)
                        {       
-                               $use_fellesdata = 
$config->config_data['use_fellesdata'];       
-                               if(!$use_fellesdata){
+                               $config = 
CreateObject('phpgwapi.config','rental');
+                               $config->read();
+                               
+                               $use_fellesdata = 
$config->config_data['use_fellesdata'];
+                               if(!$use_fellesdata){ 
                                        return;
                                }
-                                                               
+                               
                                $bofelles = rental_bofellesdata::get_instance();
                                
                                $org_unit_with_leader = 
$bofelles->get_result_unit_with_leader($org_unit_id);




reply via email to

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