Improve hidden field validation
[lhc/web/wiklou.git] / includes / htmlform / HTMLFormField.php
index 7e4b15b..7db5ebc 100644 (file)
@@ -113,7 +113,7 @@ abstract class HTMLFormField {
                                }
                                $data = $data[$key];
                        }
-                       $testValue = $data;
+                       $testValue = (string)$data;
                        break;
                }