commit | 49f483d57f4f95fc2b6d35e97ff368f15e97a5ae | [log] [tgz] |
---|---|---|
author | Lance Vincent <lancevincent@gmail.com> | Wed Jan 28 22:46:19 2015 +0800 |
committer | Lance Vincent <lancevincent@gmail.com> | Wed Jan 28 22:46:19 2015 +0800 |
tree | 40624f4bd72b239432acddc360252219304d2b8f | |
parent | 0b0117ce8742744f62f929af062ee3006f4a9791 [diff] [blame] |
change in to in_list
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index e81216e..cfb13ae 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php
@@ -1455,7 +1455,7 @@ * @param array * @return bool */ - public function in($value, $list) + public function in_list($value, $list) { return in_array($value, explode(',', $list), TRUE); }