Merge remote branch 'upstream/develop' into selectbank

Conflicts:
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
This commit is contained in:
frederic34
2014-07-08 22:46:38 +02:00
82 changed files with 2822 additions and 1178 deletions

View File

@@ -229,15 +229,16 @@ abstract class CommonObject
}
else
{
$this->db->rollback();
if ($this->db->errno() == 'DB_ERROR_RECORD_ALREADY_EXISTS')
{
$this->error=$this->db->errno();
$this->db->rollback();
return -2;
}
else
{
$this->error=$this->db->error();
$this->db->rollback();
return -1;
}
}