Navigation Menu

Skip to content

Commit

Permalink
Fix function name to proper camelBacked casing
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Nov 12, 2012
1 parent db4bf84 commit 2b1feea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Model/Validator/ValidationSet.php
Expand Up @@ -202,7 +202,7 @@ public function validate($data, $isUpdate = false) {
$this->reset();
$this->_isUpdate = $isUpdate;

if ($this->checkvalidatePresent($this->field, $data)) {
if ($this->checkValidatePresent($this->field, $data)) {
return array(__d('cake', 'This field must exist in data'));
}

Expand Down Expand Up @@ -255,7 +255,7 @@ public function isEmptyAllowed() {
* @param array $data data to check against
* @return boolean
*/
public function checkvalidatePresent($field, $data) {
public function checkValidatePresent($field, $data) {
if (array_key_exists($field, $data)) {
return false;
}
Expand Down

0 comments on commit 2b1feea

Please sign in to comment.