phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uimeter.php, 1.1.1.5


From: nomail
Subject: [Phpgroupware-cvs] property/class.uimeter.php, 1.1.1.5
Date: Sun, 23 May 2004 10:33:36 -0000

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

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

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uimeter.php
diff -u property/class.uimeter.php:1.1.1.4 property/class.uimeter.php:1.1.1.5
--- property/class.uimeter.php:1.1.1.4  Sat Apr 24 19:39:54 2004
+++ property/class.uimeter.php  Wed Apr 28 21:15:15 2004
@@ -313,8 +313,8 @@
 
                        $bolocation                     = 
CreateObject($this->currentapp.'_bolocation');
 
-                       $id                                     = 
get_var('id',array('POST','GET'));
-                       $values                         = 
get_var('values',array('POST'));
+                       $id                                     = 
$this->bocommon->get_var2('id',array('POST','GET'));
+                       $values                         = 
$this->bocommon->get_var2('values',array('POST'));
 
                        $this->bocommon->xsl_add_file(array('meter'));
 
@@ -481,15 +481,15 @@
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=8&acl_location='
 . $this->acl2_location);
                        }
 
-                       $id     = get_var('id',array('POST','GET'));
-                       $confirm        = get_var('confirm',array('POST'));
+                       $id     = 
$this->bocommon->get_var2('id',array('POST','GET'));
+                       $confirm        = 
$this->bocommon->get_var2('confirm',array('POST'));
 
                        $link_data = array
                        (
                                'sid=cookie&op' => 
$this->currentapp.'.uimeter.index'
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
                                $this->bo->delete($id);
                                Header('Location: ' . 
$this->bocommon->link('/index.php',$link_data));
@@ -523,7 +523,7 @@
                        }
 
                        $bolocation                     = 
CreateObject($this->currentapp.'_bolocation');
-                       $id                                     = 
get_var('id',array('POST','GET'));
+                       $id                                     = 
$this->bocommon->get_var2('id',array('POST','GET'));
 
                        $this->bocommon->xsl_add_file(array('meter'));
 




reply via email to

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