phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.uitenant.php, 1.1.1.7
Date: Sun, 23 May 2004 14:25:13 -0000

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

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

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uitenant.php
diff -u property/class.uitenant.php:1.1.1.6 property/class.uitenant.php:1.1.1.7
--- property/class.uitenant.php:1.1.1.6 Sun Apr 25 19:38:25 2004
+++ property/class.uitenant.php Wed Apr 28 21:15:15 2004
@@ -219,8 +219,8 @@
 
                function edit()
                {
-                       $tenant_id      = 
get_var('tenant_id',array('POST','GET'));
-                       $values         = get_var('values',array('POST'));
+                       $tenant_id      = 
$this->bocommon->get_var2('tenant_id',array('POST','GET'));
+                       $values         = 
$this->bocommon->get_var2('values',array('POST'));
 
                        $this->bocommon->xsl_add_file(array('tenant'));
 
@@ -311,16 +311,16 @@
 
                function delete()
                {
-                       $tenant_id      = 
get_var('tenant_id',array('POST','GET'));
-                       $delete         = get_var('delete',array('POST'));
-                       $confirm        = get_var('confirm',array('POST'));
+                       $tenant_id      = 
$this->bocommon->get_var2('tenant_id',array('POST','GET'));
+                       $delete         = 
$this->bocommon->get_var2('delete',array('POST'));
+                       $confirm        = 
$this->bocommon->get_var2('confirm',array('POST'));
 
                        $link_data = array
                        (
                                'sid=cookie&op' => 
$this->currentapp.'.uitenant.index'
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
                                $this->bo->delete($tenant_id);
 //                             Header('Location: ' . 
$this->bocommon->link('/index.php',$link_data));
@@ -351,8 +351,8 @@
 
                function view()
                {
-                       $tenant_id      = get_var('tenant_id',array('GET'));
-                       $action         = get_var('action',array('GET'));
+                       $tenant_id      = 
$this->bocommon->get_var2('tenant_id',array('GET'));
+                       $action         = 
$this->bocommon->get_var2('action',array('GET'));
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('tenant') . ': ' . lang('view tenant');
 




reply via email to

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