fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [8189] bkbooking: fixed bug in checking single file o


From: Kjell Arne Espedal
Subject: [Fmsystem-commits] [8189] bkbooking: fixed bug in checking single file or 2 files in agresso export
Date: Thu, 24 Nov 2011 09:12:38 +0000

Revision: 8189
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8189
Author:   kjell
Date:     2011-11-24 09:12:37 +0000 (Thu, 24 Nov 2011)
Log Message:
-----------
bkbooking: fixed bug in checking single file or 2 files in agresso export

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

Modified: trunk/booking/inc/class.socompleted_reservation_export.inc.php
===================================================================
--- trunk/booking/inc/class.socompleted_reservation_export.inc.php      
2011-11-24 08:43:20 UTC (rev 8188)
+++ trunk/booking/inc/class.socompleted_reservation_export.inc.php      
2011-11-24 09:12:37 UTC (rev 8189)
@@ -254,7 +254,8 @@
                }
                
                public function select_external($reservation) {
-
+            $config    = CreateObject('phpgwapi.config','booking');
+                       $config->read();
             if ($config->config_data['output_files'] == 'single')
                        {
                                return true;
@@ -264,6 +265,8 @@
                }
                
                public function select_internal($reservation) {
+            $config    = CreateObject('phpgwapi.config','booking');
+                       $config->read();
             if ($config->config_data['output_files'] == 'single')
                        {
                                return false;




reply via email to

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