[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9007] property: conditional redirect
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9007] property: conditional redirect |
Date: |
Wed, 21 Mar 2012 10:41:40 +0000 |
Revision: 9007
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9007
Author: sigurdne
Date: 2012-03-21 10:41:37 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
property: conditional redirect
Modified Paths:
--------------
trunk/property/inc/class.uiproject.inc.php
Modified: trunk/property/inc/class.uiproject.inc.php
===================================================================
--- trunk/property/inc/class.uiproject.inc.php 2012-03-21 10:04:42 UTC (rev
9006)
+++ trunk/property/inc/class.uiproject.inc.php 2012-03-21 10:41:37 UTC (rev
9007)
@@ -1383,9 +1383,9 @@
$values['origin'] = '';
}
- if(!isset($values['workorder_budget']) && $save)
+ if(!isset($values['workorder_budget']) && $save
&& !$values['new_project_id'])
{
-//
$GLOBALS['phpgw']->redirect_link('/index.php',array('menuaction'=>
'property.uiworkorder.edit', 'project_id'=> $id));
+
$GLOBALS['phpgw']->redirect_link('/index.php',array('menuaction'=>
'property.uiworkorder.edit', 'project_id'=> $id));
}
if
(!$this->bocommon->check_perms($values['grants'],PHPGW_ACL_EDIT))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9007] property: conditional redirect,
Sigurd Nes <=