Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Feb 28, 2014
1 parent f6ae654 commit b7976c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/validation.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ int phalcon_validation_getdefaultmessage_helper(const zend_class_entry *ce, zval
PHALCON_ALLOC_GHOST_ZVAL(t);
ZVAL_STRING(t, type, 1);
params[0] = t;
return phalcon_return_call_method(*return_value_ptr, return_value_ptr, this_ptr, "getdefaultmessage", 1, params TSRMLS_CC);
return phalcon_return_call_method(*return_value_ptr, NULL, this_ptr, "getdefaultmessage", 1, params TSRMLS_CC);
}
}

Expand Down
2 changes: 1 addition & 1 deletion ext/validation/validator.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int phalcon_validation_validator_getoption_helper(const zend_class_entry *ce, zv
PHALCON_ALLOC_GHOST_ZVAL(opt);
PHALCON_ZVAL_MAYBE_INTERNED_STRING(opt, option);
params[0] = opt;
return phalcon_return_call_method(*result, result, this_ptr, "getoption", 1, params TSRMLS_CC);
return phalcon_return_call_method(*result, NULL, this_ptr, "getoption", 1, params TSRMLS_CC);
}

/**
Expand Down

0 comments on commit b7976c4

Please sign in to comment.