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

`$original->validate()` fails if singular is '0' #301

Closed
ocean90 opened this issue Mar 2, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@ocean90
Copy link
Member

commented Mar 2, 2016

In GP_Original::restrict_fields() the rule $original->singular_should_not_be('empty'); needs to be changed to $original->singular_should_not_be('empty_string');.

Related: https://glotpress.trac.wordpress.org/changeset/1056

@ocean90 ocean90 added the bug label Mar 2, 2016

@ocean90 ocean90 self-assigned this Mar 2, 2016

@ocean90 ocean90 added this to the 1.1 milestone Mar 2, 2016

@toolstack

This comment has been minimized.

Copy link
Contributor

commented Mar 3, 2016

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.