phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] addressbook/inc class.uivcard.inc.php, 1.5.2.1.2.6


From: skwashd
Subject: [Phpgroupware-cvs] addressbook/inc class.uivcard.inc.php, 1.5.2.1.2.6
Date: Sun, 4 Dec 2005 06:22:00 +0100

Update of addressbook/inc

Modified Files:
     Branch: Version-0_9_16-branch
            class.uivcard.inc.php lines: +6 -6

Log Message:
fix bug #14064

====================================================
Index: addressbook/inc/class.uivcard.inc.php
diff -u addressbook/inc/class.uivcard.inc.php:1.5.2.1.2.5 
addressbook/inc/class.uivcard.inc.php:1.5.2.1.2.6
--- addressbook/inc/class.uivcard.inc.php:1.5.2.1.2.5   Sat Nov  6 16:13:43 2004
+++ addressbook/inc/class.uivcard.inc.php       Sun Dec  4 05:22:40 2005
@@ -43,7 +43,7 @@

                function in()
                {
-                       $action = $_POST['action'] ? $_POST['action'] : 
$_GET['action'];
+                       $action = $_REQUEST['action'];

                        $GLOBALS['phpgw']->common->phpgw_header();
                        echo parse_navbar();
@@ -71,9 +71,9 @@

                function out()
                {
-                       $ab_id   = $GLOBALS['HTTP_GET_VARS']['ab_id'] ? 
$GLOBALS['HTTP_GET_VARS']['ab_id'] : $GLOBALS['HTTP_POST_VARS']['ab_id'];
-                       $nolname = $GLOBALS['HTTP_GET_VARS']['nolname'];
-                       $nofname = $GLOBALS['HTTP_GET_VARS']['nofname'];
+                       $ab_id   = $_REQUEST['ab_id'];
+                       $nolname = $_GET['nolname'];
+                       $nofname = $_GET['nofname'];

                        if($nolname || $nofname)
                        {
@@ -87,7 +87,7 @@
                                $GLOBALS['phpgw']->common->phpgw_exit();
                        }

-                       if(!$this->contacts->check_edit($ab_id))
+                       if(!$this->contacts->check_read($ab_id))
                        {
                                Header("Location: " . 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.index'));
                                $GLOBALS['phpgw']->common->phpgw_exit();






reply via email to

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