phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc/class.uiprojects.inc.php, 1.143


From: nomail
Subject: [Phpgroupware-cvs] projects/inc/class.uiprojects.inc.php, 1.143
Date: Wed, 2 Jun 2004 18:27:41 +0200

Update of /projects/inc
Modified Files:
        Branch: 
          class.uiprojects.inc.php

date: 2004/06/02 16:27:41;  author: ceb;  state: Exp;  lines: +11 -2

Log Message:
update
=====================================================================
Index: projects/inc/class.uiprojects.inc.php
diff -u projects/inc/class.uiprojects.inc.php:1.142 
projects/inc/class.uiprojects.inc.php:1.143
--- projects/inc/class.uiprojects.inc.php:1.142 Sun May  9 23:06:53 2004
+++ projects/inc/class.uiprojects.inc.php       Wed Jun  2 16:27:41 2004
@@ -809,6 +809,16 @@
                                
$GLOBALS['phpgw']->redirect_link('/index.php',$link_data);
                        }
 
+                       if($project_id)
+                       {
+                               $values = 
$this->boprojects->read_single_project($project_id);
+
+                               if(!is_array($values))
+                               {
+                                       
$GLOBALS['phpgw']->redirect_link('/index.php',$link_data);
+                               }
+                       }
+
                        if ($action == 'mains')
                        {
                                $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('projects') . ': ' . ($project_id?lang('edit project'):lang('add project'))
@@ -882,7 +892,6 @@
 
                        if ($project_id)
                        {
-                               $values = 
$this->boprojects->read_single_project($project_id);
                                $values['radio_acc_factor'] = $radio_acc_factor;
 
                                if(($_POST['save'] || $_POST['apply']) && 
$error)




reply via email to

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