error von loeschen der doc gefixed

This commit is contained in:
ma0048
2022-09-13 18:01:09 +02:00
parent 85a6fa5600
commit f7fa97499c
@@ -423,7 +423,7 @@ class InfoCenter extends Auth_Controller
if (hasData($akte))
{
$akte = getData($akte);
if ($akte->person_id === $person_id)
if ($akte->person_id === (int)$person_id)
{
$result = $this->aktelib->remove($akte_id);