Merge remote-tracking branch 'upstream/develop' into develop

This commit is contained in:
Kijin Sung 2022-11-22 13:34:39 +09:00
commit fb23b7da6b
10 changed files with 128 additions and 65 deletions

View file

@ -123,7 +123,7 @@ class DB
}
catch (\PDOException $e)
{
throw new Exceptions\DBError($e->getMessage(), 0, $e);
throw new Exceptions\DBError($e->getMessage());
}
// Get the DB version.
@ -541,7 +541,7 @@ class DB
}
catch (\PDOException $e)
{
throw new Exceptions\DBError($e->getMessage(), 0, $e);
throw new Exceptions\DBError($e->getMessage());
}
if ($result_type === 'auto' && $last_index === 0 && count($result) <= 1)