[-] Classes : all classes and controllers now use their name in static calls instead of self (improve override) #PSFV-376
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ class FeatureCore extends ObjectModel
|
||||
if ($position)
|
||||
$feature->position = (int)$position;
|
||||
else
|
||||
$feature->position = self::getHigherPosition() + 1;
|
||||
$feature->position = Feature::getHigherPosition() + 1;
|
||||
$feature->add();
|
||||
return $feature->id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user