diff --git a/include/simpleplugin/class_helpersAttribute.inc b/include/simpleplugin/class_helpersAttribute.inc index 60b7802352f50e30222a3b883b9b002f1e97407a..9b477058c8c7ab04184f27f162b18e0611f1100e 100644 --- a/include/simpleplugin/class_helpersAttribute.inc +++ b/include/simpleplugin/class_helpersAttribute.inc @@ -81,9 +81,9 @@ class PathAttribute extends TestValidateAttribute */ class URLAttribute extends TestValidateAttribute { - protected $trim = TRUE; - - protected $testFunc = 'is_url'; + protected $trim = TRUE; + protected $testFunc = 'is_url'; + protected $inputType = 'url'; } /*! \brief This class allow to handle easily a String LDAP attribute that contains an IP (v4 or v6)