From 9689e1b822b6724244c36bed7891122da27cf2d6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 30 Oct 2008 06:51:14 +0000 Subject: [PATCH] "fix fatal error in SyncML, reported by Philip Herbert from Knauber" --- phpgwapi/inc/horde/Horde/SyncML/State_egw.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/horde/Horde/SyncML/State_egw.php b/phpgwapi/inc/horde/Horde/SyncML/State_egw.php index a7ce01b85d..61761a6510 100644 --- a/phpgwapi/inc/horde/Horde/SyncML/State_egw.php +++ b/phpgwapi/inc/horde/Horde/SyncML/State_egw.php @@ -349,7 +349,7 @@ class EGW_SyncML_State extends Horde_SyncML_State if(!isset($this->size_dev_hwversion)) { - $tableDefDevInfo = $db->get_table_definitions('',$this->table_devinfo); + $tableDefDevInfo = $GLOBALS['egw']->db->get_table_definitions('syncml',$this->table_devinfo); $this->size_dev_hwversion = $tableDefDevInfo['fd']['dev_hwversion']['precision']; unset($tableDefDevInfo); }