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

WhereClauseを省略形で書くとエラーが発生 #4547

Closed
izayoi256 opened this issue Jun 2, 2020 · 1 comment
Closed

WhereClauseを省略形で書くとエラーが発生 #4547

izayoi256 opened this issue Jun 2, 2020 · 1 comment
Labels
Milestone

Comments

@izayoi256
Copy link
Contributor

概要(Overview)

(bool)$yがfalseとして評価される値を使用するとエラー

再現手順(Procedure)

// OK
[WhereClause::eq('p.hoge', ':hoge', ['hoge' => 0])];

// OK
[WhereClause::eq('p.hoge', ':hoge', 1)];

// Too few parameters: the query defines X parameters but you only bound X-1
[WhereClause::eq('p.hoge', ':hoge', 0)];

環境 (environment)

  • EC-CUBE: 4.0.3

関連情報 (Ref)

@okazy
Copy link
Contributor

okazy commented Oct 28, 2020

クローズありがとうございます!

@okazy okazy modified the milestones: 4.0.x, 4.1 Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants