diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 944b2693b5c..37e6637c59b 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -863,7 +863,7 @@ class Form
*/
function selectyesnonum($name,$value='')
{
- selectyesno($name,$value,1);
+ $this->selectyesno($name,$value,1);
}
/*