diff --git a/inc/formanswer.class.php b/inc/formanswer.class.php index 80ac733e2..8a0fd4b91 100644 --- a/inc/formanswer.class.php +++ b/inc/formanswer.class.php @@ -330,7 +330,7 @@ public static function getSpecificValueToSelect($field, $name = '', $values = '' switch ($field) { case 'status' : - $elements = $this->getStatuses(); + $elements = self::getStatuses(); $output = Dropdown::showFromArray($name, $elements, ['display' => false, 'value' => $values[$field]]); return $output; break;