mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix a small bug
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8462 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3102b857e9
commit
98a643d0c3
1 changed files with 2 additions and 2 deletions
|
|
@ -17,11 +17,11 @@ class Validator
|
|||
* @constructor
|
||||
*/
|
||||
function Validator($xml_path=''){
|
||||
if($xml_path) $this->load($xml_path);
|
||||
|
||||
$this->_rules = array();
|
||||
$this->_filters = array();
|
||||
$this->_xml_ruleset = null;
|
||||
|
||||
if($xml_path) $this->load($xml_path);
|
||||
|
||||
// predefined rules
|
||||
$this->addRule(array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue