fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11045] property: download agreement details


From: Sigurd Nes
Subject: [Fmsystem-commits] [11045] property: download agreement details
Date: Wed, 10 Apr 2013 07:16:44 +0000

Revision: 11045
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11045
Author:   sigurdne
Date:     2013-04-10 07:16:43 +0000 (Wed, 10 Apr 2013)
Log Message:
-----------
property: download agreement details

Modified Paths:
--------------
    trunk/property/inc/class.uiagreement.inc.php

Modified: trunk/property/inc/class.uiagreement.inc.php
===================================================================
--- trunk/property/inc/class.uiagreement.inc.php        2013-04-10 07:14:59 UTC 
(rev 11044)
+++ trunk/property/inc/class.uiagreement.inc.php        2013-04-10 07:16:43 UTC 
(rev 11045)
@@ -1516,6 +1516,11 @@
 
                function download()
                {
+                       if(!$this->acl_read)
+                       {
+                               
$GLOBALS['phpgw']->redirect_link('/index.php',array('menuaction'=> 
'property.uilocation.stop', 'perm'=>1, 'acl_location'=> $this->acl_location));
+                       }
+
                        $id     = phpgw::get_var('id', 'int');
                        $this->bo->allrows      = true;
                        if($id)




reply via email to

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