phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uiinvestment.php, 1.1.1.8


From: nomail
Subject: [Phpgroupware-cvs] property/class.uiinvestment.php, 1.1.1.8
Date: Sun, 23 May 2004 17:00:26 -0000

Update of /property
Modified Files:
        Branch: 
          class.uiinvestment.php

date: 2004/04/28 21:15:15;  author: sigurdne;  state: Exp;  lines: +16 -16

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uiinvestment.php
diff -u property/class.uiinvestment.php:1.1.1.7 
property/class.uiinvestment.php:1.1.1.8
--- property/class.uiinvestment.php:1.1.1.7     Mon Apr 26 17:02:32 2004
+++ property/class.uiinvestment.php     Wed Apr 28 21:15:15 2004
@@ -93,9 +93,9 @@
                                                                                
'nextmatchs'));
 
                        $links = $this->menu->links('investment');
-                       $preserve               = 
get_var('preserve',array('POST','GET'));
-                       $values         = get_var('values',array('POST'));
-                       $date           = get_var('date',array('POST'));
+                       $preserve               = 
$this->bocommon->get_var2('preserve',array('POST','GET'));
+                       $values         = 
$this->bocommon->get_var2('values',array('POST'));
+                       $date           = 
$this->bocommon->get_var2('date',array('POST'));
 
                        if($preserve)
                        {
@@ -318,11 +318,11 @@
                                                                                
'nextmatchs'));
 
                        $links = $this->menu->links();
-                       $values                 = 
get_var('values',array('POST'));
-                       $date                   = 
get_var('date',array('POST','GET'));
-                       $entity_type    = 
get_var('entity_type',array('POST','GET'));
-                       $entity_id              = 
get_var('entity_id',array('POST','GET'));
-                       $investment_id  = 
get_var('investment_id',array('POST','GET'));
+                       $values                 = 
$this->bocommon->get_var2('values',array('POST'));
+                       $date                   = 
$this->bocommon->get_var2('date',array('POST','GET'));
+                       $entity_type    = 
$this->bocommon->get_var2('entity_type',array('POST','GET'));
+                       $entity_id              = 
$this->bocommon->get_var2('entity_id',array('POST','GET'));
+                       $investment_id  = 
$this->bocommon->get_var2('investment_id',array('POST','GET'));
 
                        if($date)
                        {
@@ -476,8 +476,8 @@
                        {
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=2&acl_location='
 . $this->acl2_location);
                        }
-                       $values                                 = 
get_var('values',array('POST'));
-                       $values['date']                 = 
get_var('date',array('POST'));
+                       $values                                 = 
$this->bocommon->get_var2('values',array('POST'));
+                       $values['date']                 = 
$this->bocommon->get_var2('date',array('POST'));
 
                        $insert_record = 
$this->fm_session->appsession('insert_record',$this->currentapp);
                        $insert_record_entity = 
$this->fm_session->appsession('insert_record_entity',$this->currentapp);
@@ -640,12 +640,12 @@
 
                function delete()
                {
-                       $entity_id = get_var('entity_id',array('POST','GET'));
-                       $investment_id = 
get_var('investment_id',array('POST','GET'));
-                       $index_count = 
get_var('index_count',array('POST','GET'));
-                       $entity_type = 
get_var('entity_type',array('POST','GET'));
+                       $entity_id = 
$this->bocommon->get_var2('entity_id',array('POST','GET'));
+                       $investment_id = 
$this->bocommon->get_var2('investment_id',array('POST','GET'));
+                       $index_count = 
$this->bocommon->get_var2('index_count',array('POST','GET'));
+                       $entity_type = 
$this->bocommon->get_var2('entity_type',array('POST','GET'));
 
-                       $confirm        = get_var('confirm',array('POST'));
+                       $confirm        = 
$this->bocommon->get_var2('confirm',array('POST'));
 
                        $link_data = array
                        (
@@ -656,7 +656,7 @@
                                'entity_type'   => $entity_type
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
 
                                
$this->bo->delete($entity_id,$investment_id,$index_count);




reply via email to

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