Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_fold_values() : return is inside if() ??? #43

Closed
tivnet opened this issue Sep 19, 2013 · 2 comments
Closed

_fold_values() : return is inside if() ??? #43

tivnet opened this issue Sep 19, 2013 · 2 comments

Comments

@tivnet
Copy link
Contributor

tivnet commented Sep 19, 2013

$folds = array();
if( !is_null( $this->sections ) && is_null( $this->options_defaults ) ) {
...
return $folds;
}

// and else - nothing is returned?

@dovy
Copy link
Contributor

dovy commented Sep 19, 2013

Good catch. Resolved in next push.

@dovy dovy closed this as completed Sep 19, 2013
@dovy
Copy link
Contributor

dovy commented Oct 15, 2013

@tivnet Just an FYI. Fold has changed to required and the new format is as such:

'required'=>array('KEY', '=', array('VALUES'))

Check the sample doc for examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants