summaryrefslogtreecommitdiff
path: root/src/model/Position.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/Position.php')
-rw-r--r--src/model/Position.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/Position.php b/src/model/Position.php
index b5040df..8035481 100644
--- a/src/model/Position.php
+++ b/src/model/Position.php
@@ -30,12 +30,12 @@ trait Position
30 } 30 }
31 31
32 if($reindexation){ 32 if($reindexation){
33 $this->reindex(); 33 $this->reindexPositions();
34 } 34 }
35 } 35 }
36 36
37 // nouvelles positions (tableau $children => BDD) 37 // nouvelles positions (tableau $children => BDD)
38 public function reindex(): void 38 public function reindexPositions(): void
39 { 39 {
40 $i = 1; 40 $i = 1;
41 foreach($this->children as $child){ 41 foreach($this->children as $child){