Skip to content

Commit

Permalink
Merge pull request #1530 from dreamsxin/model_validator
Browse files Browse the repository at this point in the history
[NFR]When not found option renturn null
  • Loading branch information
Phalcon committed Nov 8, 2013
2 parents 769872b + e5efd25 commit 55cc262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/mvc/model/validator.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ PHP_METHOD(Phalcon_Mvc_Model_Validator, getOption){
RETURN_CCTOR(value);
}

RETURN_MM_EMPTY_STRING();
RETURN_MM_NULL();
}

/**
Expand Down

0 comments on commit 55cc262

Please sign in to comment.