mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-14 20:14:19 +01:00
fix error: Call to undefined method calendar_ical::get_table_definitions()
This commit is contained in:
parent
098fcbf918
commit
1ed0fd898f
@ -1776,7 +1776,7 @@ class Db
|
|||||||
|
|
||||||
if ($cached_table !== $table || is_null($cached_columns))
|
if ($cached_table !== $table || is_null($cached_columns))
|
||||||
{
|
{
|
||||||
$db = isset($this) ? $this : $GLOBALS['egw']->db;
|
$db = isset($this) && is_a($this, __CLASS__) ? $this : $GLOBALS['egw']->db;
|
||||||
$table_def = $db->get_table_definitions($app,$table);
|
$table_def = $db->get_table_definitions($app,$table);
|
||||||
$cached_columns = is_array($table_def) ? $table_def['fd'] : false;
|
$cached_columns = is_array($table_def) ? $table_def['fd'] : false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user