mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fixed a buf for validation
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8890 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
32f81334d6
commit
6d14ce99ef
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class Validator
|
|||
* @param[in] (optional) array $fields Target fields. The keys of the array represents field's name, its values represents field's value.
|
||||
* @return bool True if it is valid, FALSE otherwise.
|
||||
*/
|
||||
function validate($fields_=array()){
|
||||
function validate($fields_=null){
|
||||
if(is_array($fields_)) {
|
||||
$fields = $fields_;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue