phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.uip_of_town.php, 1.1.1.8
Date: Sun, 23 May 2004 03:59:13 -0000

Update of /property
Modified Files:
        Branch: 
          class.uip_of_town.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.uip_of_town.php
diff -u property/class.uip_of_town.php:1.1.1.7 
property/class.uip_of_town.php:1.1.1.8
--- property/class.uip_of_town.php:1.1.1.7      Mon Apr 26 12:21:05 2004
+++ property/class.uip_of_town.php      Wed Apr 28 21:15:15 2004
@@ -211,8 +211,8 @@
 
                function edit()
                {
-                       $part_of_town_id        = 
get_var('part_of_town_id',array('POST','GET'));
-                       $values         = get_var('values',array('POST'));
+                       $part_of_town_id        = 
$this->bocommon->get_var2('part_of_town_id',array('POST','GET'));
+                       $values         = 
$this->bocommon->get_var2('values',array('POST'));
 
 //                     if($GLOBALS['phpgw']->is_repost())
                        {
@@ -298,16 +298,16 @@
 
                function delete()
                {
-                       $part_of_town_id        = 
get_var('part_of_town_id',array('POST','GET'));
-                       $delete         = get_var('delete',array('POST'));
-                       $confirm        = get_var('confirm',array('POST'));
+                       $part_of_town_id        = 
$this->bocommon->get_var2('part_of_town_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.'.uip_of_town.index'
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
                                $this->bo->delete($part_of_town_id);
                                
$this->bocommon->redirect_link('/index.php',$link_data);
@@ -335,8 +335,8 @@
 
                function view()
                {
-                       $part_of_town_id        = 
get_var('part_of_town_id',array('GET'));
-                       $action         = get_var('action',array('GET'));
+                       $part_of_town_id        = 
$this->bocommon->get_var2('part_of_town_id',array('GET'));
+                       $action         = 
$this->bocommon->get_var2('action',array('GET'));
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('part of town') . ': ' . lang('view part of town');
 




reply via email to

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