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

Not able to set value 0 for expressions #7529

Closed
steefaan opened this issue Oct 10, 2015 · 1 comment
Closed

Not able to set value 0 for expressions #7529

steefaan opened this issue Oct 10, 2015 · 1 comment
Assignees
Milestone

Comments

@steefaan
Copy link
Contributor

If I have a query like:

        $expr = $query->newExpr()->addCase(
            [
                $query->newExpr()->add(['id' => 'test']),
            ],
            [
                0
            ],
            'integer'
        );

the 0 will be changed to 1 in the query itself. The specific example isn't really useful but shows the issue.

@HavokInspiration HavokInspiration added this to the 3.1.2 milestone Oct 10, 2015
@markstory markstory self-assigned this Oct 14, 2015
markstory added a commit that referenced this issue Oct 14, 2015
empty() continues to be sharp and pointy.

Refs #7529
@markstory
Copy link
Member

Fixed with #7543

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

No branches or pull requests

3 participants