mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
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']);
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user