mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-16 08:05:01 +00:00
small orm bug fix
This commit is contained in:
@@ -286,13 +286,13 @@
|
||||
}
|
||||
|
||||
//add a record
|
||||
//set the message index
|
||||
$m = 0;
|
||||
if ($action == "add") {
|
||||
if (permission_exists($this->singular($this->name).'_add')) {
|
||||
//start the atomic transaction
|
||||
$this->db->beginTransaction();
|
||||
|
||||
//set the message index
|
||||
$m = 0;
|
||||
|
||||
//parent data
|
||||
if (isset($this->uuid)) {
|
||||
|
||||
Reference in New Issue
Block a user