mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
fix PHP 8.0 TypeError: Unsupported operand types: string + int
This commit is contained in:
parent
26a8d40c5f
commit
26af55cba6
@ -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