diff --git a/htdocs/core/class/html.formintervention.class.php b/htdocs/core/class/html.formintervention.class.php
index 6fa982dadbc..be136a5db91 100644
--- a/htdocs/core/class/html.formintervention.class.php
+++ b/htdocs/core/class/html.formintervention.class.php
@@ -71,7 +71,7 @@ class FormIntervention
$hideunselectables = false;
// Search all contacts
- $sql = "SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut";
+ $sql = "SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status";
$sql .= " FROM ".$this->db->prefix()."fichinter as f";
$sql .= " WHERE f.entity = ".$conf->entity;
if ($socid >= 0) {
@@ -108,11 +108,11 @@ class FormIntervention
// Do nothing
} else {
$labeltoshow = dol_trunc($obj->ref, 18);
- if (!empty($selected) && $selected == $obj->rowid && $obj->statut > 0) {
+ if (!empty($selected) && $selected == $obj->rowid && $obj->status > 0) {
$out .= '';
} else {
$disabled = 0;
- if (!$obj->fk_statut > 0 && ! $draftonly) {
+ if (!$obj->status > 0 && ! $draftonly) {
$disabled = 1;
$labeltoshow .= ' ('.$langs->trans("Draft").')';
}