fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9927] fixed redirect to dashboard after approval of


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [9927] fixed redirect to dashboard after approval of organization
Date: Wed, 29 Aug 2012 12:20:18 +0000

Revision: 9927
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9927
Author:   erikhl
Date:     2012-08-29 12:20:17 +0000 (Wed, 29 Aug 2012)
Log Message:
-----------
fixed redirect to dashboard after approval of organization

Modified Paths:
--------------
    trunk/activitycalendar/inc/class.uiorganization.inc.php

Modified: trunk/activitycalendar/inc/class.uiorganization.inc.php
===================================================================
--- trunk/activitycalendar/inc/class.uiorganization.inc.php     2012-08-29 
12:16:54 UTC (rev 9926)
+++ trunk/activitycalendar/inc/class.uiorganization.inc.php     2012-08-29 
12:20:17 UTC (rev 9927)
@@ -180,7 +180,7 @@
                                {
                                        $error = lang('messages_form_error');
                                }
-                               $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'activitycalendar.uiorganization.show', 'id' => 
$org->get_id(), 'saved_ok' => 'yes'));
+                               $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'activitycalendar.uidashboard.index'));
                        }
                        else if(isset($_POST['update_organization'])) // The 
user has pressed the store button
                        {
@@ -261,7 +261,7 @@
                                $org->set_transferred(true);
                                $so_org->update_local($org);
                                
-                               $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'activitycalendar.uiorganization.show', 'id' => 
$org->get_id(), 'saved_ok' => 'yes'));
+                               $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'activitycalendar.uidashboard.index'));
                        }
                        
                        $contact_persons = 
$so_contact->get_local_contact_persons($org->get_id());




reply via email to

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