phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/class.uientity.inc.php, 1.23


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.uientity.inc.php, 1.23
Date: Thu, 20 May 2004 18:48:07 -0000

Update of /property/inc
Modified Files:
        Branch: 
          class.uientity.inc.php

date: 2004/04/15 06:48:21;  author: sigurdne;  state: Exp;  lines: +9 -2

Log Message:
no message
=====================================================================
No syntax errors detected in -
=====================================================================
Index: property/inc/class.uientity.inc.php
diff -u property/inc/class.uientity.inc.php:1.22 
property/inc/class.uientity.inc.php:1.23
--- property/inc/class.uientity.inc.php:1.22    Tue Feb 10 12:48:11 2004
+++ property/inc/class.uientity.inc.php Thu Apr 15 06:48:21 2004
@@ -641,7 +641,7 @@
                                        $receipt = 
$this->bo->save($values,$values_attribute,$action,$this->entity_id,$this->cat_id);
                                        $id = $values['id'];
                                        $function_msg = lang('edit entity');
-                                       $receipt[]      = 
$this->bo->create_home_dir();
+                                       $receipt        = 
$this->bo->create_home_dir($receipt);
 
                                        if($values['file_name'])
                                        {
@@ -728,11 +728,18 @@
                                $lookup_tenant=True;
                        }
 
+                       if(!$category['location_level'])
+                       {
+                               $category['location_level']= -1;
+                       }
+
+
+
                        if($entity['location_form'])
                        {
                                
$location_data=$bolocation->initiate_ui_location(array(
                                                'values'                => 
$values['location_data'],
-                                               'type_id'               => 
-1,//$category['location_level'],
+                                               'type_id'               => 
$category['location_level'],
                                                'no_link'               => 
False, // disable lookup links for location type less than type_id
                                                'lookup_type'   => $lookup_type,
                                                'tenant'                => 
$lookup_tenant,




reply via email to

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