"fix fatal error in SyncML, reported by Philip Herbert from Knauber"

This commit is contained in:
Ralf Becker 2008-10-30 06:51:14 +00:00
parent 1ebccc7869
commit 9689e1b822

View File

@ -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);
}