mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
fix typo / replaced wrong line
This commit is contained in:
parent
a4b982e75d
commit
9a408f40ac
@ -813,7 +813,7 @@ class Db
|
|||||||
{
|
{
|
||||||
$rs = $this->Link_ID->Execute($Query_String, $inputarr);
|
$rs = $this->Link_ID->Execute($Query_String, $inputarr);
|
||||||
}
|
}
|
||||||
$this->Errno = 2006;
|
$this->Errno = $this->Link_ID->ErrorNo();
|
||||||
$this->Error = $this->Link_ID->ErrorMsg();
|
$this->Error = $this->Link_ID->ErrorMsg();
|
||||||
}
|
}
|
||||||
// PHP 8.1 mysqli throws its own exception
|
// PHP 8.1 mysqli throws its own exception
|
||||||
@ -822,8 +822,7 @@ class Db
|
|||||||
{
|
{
|
||||||
throw new Db\Exception($e->getMessage(), $e->getCode(), $e);
|
throw new Db\Exception($e->getMessage(), $e->getCode(), $e);
|
||||||
}
|
}
|
||||||
_egw_log_exception($e);
|
$this->Errno = 2006;
|
||||||
$this->Errno = $e->getCode();
|
|
||||||
$this->Error = $e->getMessage();
|
$this->Error = $e->getMessage();
|
||||||
}
|
}
|
||||||
$this->Row = 0;
|
$this->Row = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user