fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10196] Fixed add on resource_type_requirement


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [10196] Fixed add on resource_type_requirement
Date: Wed, 10 Oct 2012 12:45:57 +0000

Revision: 10196
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10196
Author:   erikhl
Date:     2012-10-10 12:45:56 +0000 (Wed, 10 Oct 2012)
Log Message:
-----------
Fixed add on resource_type_requirement

Modified Paths:
--------------
    trunk/logistic/inc/class.uiresource_type_requirement.inc.php

Modified: trunk/logistic/inc/class.uiresource_type_requirement.inc.php
===================================================================
--- trunk/logistic/inc/class.uiresource_type_requirement.inc.php        
2012-10-10 12:43:09 UTC (rev 10195)
+++ trunk/logistic/inc/class.uiresource_type_requirement.inc.php        
2012-10-10 12:45:56 UTC (rev 10196)
@@ -301,6 +301,14 @@
                                                
$this->so->delete($del_req_type);
                                        }
                                }
+                               else
+                               {
+                                       foreach ($cust_attr_ids as $attr)
+                                       {
+                                               
$req_type->set_cust_attribute_id($attr);
+                                               $req_type_id = 
$this->so->store($req_type);
+                                       }
+                               }
 
                                $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'logistic.uiresource_type_requirement.view', 
'location_id' => $location_id, 'project_type_id' => 
$req_type->get_project_type_id()));
                        }




reply via email to

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