fix an other PHP 8.0 Error: Non-static method EGroupware\Api\Db::get_column_attribute() cannot be called statically

This commit is contained in:
Ralf Becker 2021-10-11 13:23:26 +02:00
parent 88a67d7442
commit 43b80650b4

View File

@ -3093,7 +3093,7 @@ class calendar_ical extends calendar_boupdate
} }
// if that's not enough --> unset it, as truncating the json gives nothing // if that's not enough --> unset it, as truncating the json gives nothing
if (strlen($event['##'.$attributes['name']]) > 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']]); unset($event['##'.$attributes['name']]);
} }