Bonjour,
Le code ci-dessous devrait m'afficher
GetShift: 2
Mais il affiche:
2GetShift: 2
Code:
$GetShift = GetShift($dec);
echo strval($GetShift);
fdebug("GetShift: $GetShift");
function GetShift($dec) {
return(getValueByFeature($dec,"heating.circuits.0.heating.curve","shift","value"));
}
Selon vous le problème vient de la fonction ou dois-je chercher ailleurs?