forked from extern/egroupware
fix error: Call to undefined method calendar_ical::get_table_definitions()
This commit is contained in:
parent
f0a12ed836
commit
6f587f6f39
@ -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