N°4756 - Fix DBInsert/NoReload call order

This commit is contained in:
Eric Espie
2022-09-21 18:08:44 +02:00
parent 2e39a650eb
commit b9d865f881
4 changed files with 9 additions and 13 deletions

View File

@@ -2815,9 +2815,9 @@ abstract class DBObject implements iDisplay
* @internal
*
*/
public function DBInsertNoReload()
public function DBInsert()
{
return $this->DBInsert();
return $this->DBInsertNoReload();
}
/**
@@ -2943,7 +2943,7 @@ abstract class DBObject implements iDisplay
* @throws \MySQLException
* @throws \OQLException
*/
public function DBInsert()
public function DBInsertNoReload()
{
$sClass = get_class($this);
if (MetaModel::DBIsReadOnly())