phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uib_account.php, 1.1.1.7


From: nomail
Subject: [Phpgroupware-cvs] property/class.uib_account.php, 1.1.1.7
Date: Sun, 23 May 2004 06:05:15 -0000

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

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

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uib_account.php
diff -u property/class.uib_account.php:1.1.1.6 
property/class.uib_account.php:1.1.1.7
--- property/class.uib_account.php:1.1.1.6      Mon Apr 26 08:00:00 2004
+++ property/class.uib_account.php      Wed Apr 28 21:15:15 2004
@@ -157,8 +157,8 @@
 
                function edit()
                {
-                       $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('b_account'));
 
@@ -236,15 +236,15 @@
 
                function delete()
                {
-                       $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.'.uib_account.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));




reply via email to

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