forked from extern/egroupware
fix PHP 8.0 TypeError: Unsupported operand types: string + int
This commit is contained in:
parent
b18d1da363
commit
e95edf60ec
@ -1199,7 +1199,7 @@ class Sql extends Api\Storage
|
|||||||
unset($this->data['etag']);
|
unset($this->data['etag']);
|
||||||
if (!($err = parent::save(array('contact_etag=contact_etag+1'),array('contact_etag' => $etag))))
|
if (!($err = parent::save(array('contact_etag=contact_etag+1'),array('contact_etag' => $etag))))
|
||||||
{
|
{
|
||||||
$this->data['etag'] = $etag+1;
|
$this->data['etag'] = (int)$etag+1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user