summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/libraries/ORM_MPTT.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/libraries/ORM_MPTT.php b/core/libraries/ORM_MPTT.php
index 28147d80..e8411db0 100644
--- a/core/libraries/ORM_MPTT.php
+++ b/core/libraries/ORM_MPTT.php
@@ -63,6 +63,7 @@ class ORM_MPTT_Core extends ORM {
$this->parent_id = $parent->id;
$this->level = $parent->level + 1;
$this->save();
+ $parent->reload();
} catch (Exception $e) {
$this->unlock();
throw $e;