CVSROOT:        /sources/phpgroupware
Module name:    syncml
Changes by:     Johan Gunnarsson <johang>       07/07/31 10:13:52

Modified files:
        inc            : class.uisyncml.inc.php 

Log message:
        Fix for bug #20641

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/syncml/inc/class.uisyncml.inc.php?cvsroot=phpgroupware&r1=1.1.1.1&r2=1.2

Patches:
Index: class.uisyncml.inc.php
===================================================================
RCS file: /sources/phpgroupware/syncml/inc/class.uisyncml.inc.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- class.uisyncml.inc.php      30 Jul 2007 13:04:39 -0000      1.1.1.1
+++ class.uisyncml.inc.php      31 Jul 2007 10:13:52 -0000      1.2
@@ -7,14 +7,16 @@
         * @copyright Copyright (c) 2007 Free Software Foundation, Inc.
         * @license   GNU General Public License 3 or later
         * @package   syncml
-        * @version   $Id: class.uisyncml.inc.php,v 1.1.1.1 2007/07/30 13:04:39 
johang Exp $
+        * @version   $Id: class.uisyncml.inc.php,v 1.2 2007/07/31 10:13:52 
johang Exp $
         */
 
        require_once 'syncml/inc/functions.inc.php';
 
+       require_once 'syncml/inc/class.sodatabase.inc.php';
+
        class uisyncml
        {
-               var $sodatabases;
+               var $sodatabase;
                
                var $public_functions = array
                (
@@ -34,7 +36,7 @@
                                'currentapp' => 'syncml'
                        );
                        
-                       // $this->sodatabases = new syncml_sodatabases();
+                       $this->sodatabase = new syncml_sodatabase();
                }
 
                function rehash()
@@ -141,9 +143,7 @@
                                'lang_remove'       => 'Remove' // 
lang('remove')
                        );
 
-                       $sodatabase = new syncml_sodatabase();
-
-                       $table_rows = $sodatabase->get_database(
+                       $table_rows = $this->sodatabase->get_database(
                                NULL, 
$GLOBALS['phpgw_info']['user']['account_id']);
                        
                        $GLOBALS['phpgw']->xslttpl->set_var(


_______________________________________________
phpGroupWare-cvs mailing list
phpGroupWare-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs

Reply via email to