fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17340] remove redirect loop


From: sigurdne
Subject: [Fmsystem-commits] [17340] remove redirect loop
Date: Tue, 21 Nov 2017 07:41:18 -0500 (EST)

Revision: 17340
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17340
Author:   sigurdne
Date:     2017-11-21 07:41:18 -0500 (Tue, 21 Nov 2017)
Log Message:
-----------
remove redirect loop

Modified Paths:
--------------
    trunk/property/inc/class.uicondition_survey.inc.php
    trunk/property/inc/class.uirequest.inc.php

Modified: trunk/property/inc/class.uicondition_survey.inc.php
===================================================================
--- trunk/property/inc/class.uicondition_survey.inc.php 2017-11-21 12:31:54 UTC 
(rev 17339)
+++ trunk/property/inc/class.uicondition_survey.inc.php 2017-11-21 12:41:18 UTC 
(rev 17340)
@@ -420,12 +420,6 @@
                {
                        $id = isset($values['id']) && $values['id'] ? 
$values['id'] : phpgw::get_var('id', 'int');
 
-                       if (!$this->acl_add && !$this->acl_edit)
-                       {
-                               $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'property.uicondition_survey.view',
-                                       'id' => $id));
-                       }
-
                        if ($mode == 'view')
                        {
                                if (!$this->acl_read)

Modified: trunk/property/inc/class.uirequest.inc.php
===================================================================
--- trunk/property/inc/class.uirequest.inc.php  2017-11-21 12:31:54 UTC (rev 
17339)
+++ trunk/property/inc/class.uirequest.inc.php  2017-11-21 12:41:18 UTC (rev 
17340)
@@ -1118,12 +1118,6 @@
                {
                        $id = isset($values['id']) && $values['id'] ? 
$values['id'] : phpgw::get_var('id', 'int');
 
-                       if (!$this->acl_add && !$this->acl_edit)
-                       {
-                               $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'property.uirequest.view',
-                                       'id' => $id));
-                       }
-
                        if ($mode == 'view')
                        {
                                if (!$this->acl_read)




reply via email to

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