diff --git a/htdocs/dav/dav.class.php b/htdocs/dav/dav.class.php index c0220d77a66..0122dbc3eaf 100644 --- a/htdocs/dav/dav.class.php +++ b/htdocs/dav/dav.class.php @@ -118,9 +118,8 @@ class CdavLib */ public function toVCalendar($calid, $obj) { - - $categ = []; - /*if($obj->soc_client) + /*$categ = array(); + if($obj->soc_client) { $nick[] = $obj->soc_code_client; $categ[] = $this->langs->transnoentitiesnoconv('Customer');