fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14900] show error message after redirekt


From: Sigurd Nes
Subject: [Fmsystem-commits] [14900] show error message after redirekt
Date: Thu, 07 Apr 2016 07:10:20 +0000

Revision: 14900
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14900
Author:   sigurdne
Date:     2016-04-07 07:10:19 +0000 (Thu, 07 Apr 2016)
Log Message:
-----------
show error message after redirekt

Modified Paths:
--------------
    trunk/booking/inc/class.uicompleted_reservation_export.inc.php

Modified: trunk/booking/inc/class.uicompleted_reservation_export.inc.php
===================================================================
--- trunk/booking/inc/class.uicompleted_reservation_export.inc.php      
2016-04-06 14:01:02 UTC (rev 14899)
+++ trunk/booking/inc/class.uicompleted_reservation_export.inc.php      
2016-04-07 07:10:19 UTC (rev 14900)
@@ -394,7 +394,11 @@
                                $redirect_params['export_key'] = $export_key;
                        }
 
-                       $this->flash_form_errors($export_errors);
+//                     $this->flash_form_errors($export_errors);
+                       foreach ($export_errors as $key => $value)
+                       {
+                               phpgwapi_cache::message_set($value, 'error');
+                       }
                        $this->redirect_to('index', $redirect_params);
                }
 




reply via email to

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