Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


fix issue 1204 #1205

merged 2 commits into from

2 participants


fix issue for issue #1204


okay @WanWizard changed it...

@WanWizard WanWizard merged commit 6f17280 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 15, 2012
  1. @it-can

    fix issue 1204

    it-can authored
Commits on Nov 16, 2012
  1. @it-can

    reverse to or

    it-can authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/validation.php
2  classes/validation.php
@@ -175,7 +175,7 @@ public function add_field($name, $label, $rules)
$field = $this->add($name, $label);
- $rules = explode('|', $rules);
+ is_array($rules) or $rules = explode('|', $rules);
foreach ($rules as $rule)
Something went wrong with that request. Please try again.