diff --git a/html/js/accounting_item.js b/html/js/accounting_item.js
index b9cd24c47..84f1388bb 100644
--- a/html/js/accounting_item.js
+++ b/html/js/accounting_item.js
@@ -143,7 +143,7 @@ function search_poste(obj)
}
catch (e)
{
- alert(e.getMessage());
+ alert(e.getMessage);
}
}
/**