From fdc54215618bf0684c4ed292a6fbc59b82037feb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 11 Oct 2021 13:15:34 +0200 Subject: [PATCH] fix PHP 8.0 Error: Non-static method EGroupware\Api\Db::get_column_attribute() cannot be called statically --- calendar/inc/class.calendar_ical.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index d5e2f3431a..d05224338d 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -3082,7 +3082,7 @@ class calendar_ical extends calendar_boupdate // check if json_encoded attribute is to big for our table if (($attributes['params'] || count($attributes['values']) > 1) && strlen($event['##'.$attributes['name']]) > - Api\Db::get_column_attribute('cal_extra_value', 'egw_cal_extra', 'calendar', 'precision')) + $GLOBALS['egw']->db->get_column_attribute('cal_extra_value', 'egw_cal_extra', 'calendar', 'precision')) { // store content compressed (Outlook/Exchange HTML garbadge is very good compressable) if (function_exists('gzcompress'))