From 3e17b79d5c9c93d1a8d35bc43d3f6cf1e1c0c869 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 11 Oct 2021 13:23:26 +0200 Subject: [PATCH] fix an other 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 d05224338d..7ff64226c3 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -3093,7 +3093,7 @@ class calendar_ical extends calendar_boupdate } // if that's not enough --> unset it, as truncating the json gives nothing if (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')) { unset($event['##'.$attributes['name']]); }