Home » HTML » HTML_QuickForm » Bug #8266
Regex.php bug (preg_match warning)
Details
| Submitted | 2006-07-23 04:29 UTC |
|---|---|
| From | rabzelj dot janez at gmail dot com |
| Status | Bogus |
| Package | HTML_QuickForm |
| PHP Version | 5.1.4 |
| OS | Debian SID GNU/Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-07-23 04:29 UTC] rabzelj dot janez at gmail dot com
Description:
------------
Pear version:
Release Date 2006-07-18 20:16:41
Release Version 1.4.10 (stable)
API Version 1.4.2 (stable)
HTML_Quickform version:
Version 3.2.6
Release Date 2006-06-22
On Debian SID GNU/Linux
Kernel 2.6.16-2-k7
Cherokee 0.5.4
PHP 5.1.4
Test script:
---------------
My script
http://pget.org/index.php?id=575ea8dd10 the error was found since 52 line to 56, when I try put a numeric rule
Regex.php
http://pget.org/index.php?id=324825fa87
Expected result:
----------------
I just want to see the error when I wrote in the fields incorrectly.
Actual result:
--------------
You can see http://rabzelj.net/proyecto/insAlumno.php when you left blank all the fields you can see the warning in the top.
Warning: preg_match() expects parameter 2 to be string, array given in /usr/share/php/HTML/QuickForm/Rule/Regex.php on line 57
Warning: preg_match() expects parameter 2 to be string, array given in /usr/share/php/HTML/QuickForm/Rule/Regex.php on line 57