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

MailTemplateRepository の member_id がベタ書き対応 #2027

Merged
merged 3 commits into from
Jan 22, 2017

Conversation

trebla-on
Copy link
Contributor

MailTemplateRepository の member_id がベタ書き対応
#894

修正内容:
クラス{MailTemplateRepository}のメッソド{findOrCreate}変更しました。
Member引数で渡すようにしました、Member渡してなかった場合はいままでとおなじ自動的に取得する、ただベタ書きではなくって{rankのASC}レーコドを取得する

@@ -34,20 +35,20 @@
*/
class MailTemplateRepository extends EntityRepository
{
public function findOrCreate($id)
public function findOrCreate($id, $Creator = null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trebla-on
こちらの修正も、#2026 と同様かと思いますので、ご確認いただけますか。
#2026 (comment)

@trebla-on
Copy link
Contributor Author

@chihiro-adachi 修正しました、ご確認お願いします。

@Yangsin Yangsin added this to the 3.0.14 milestone Jan 19, 2017
@Yangsin Yangsin merged commit 62f9cd6 into EC-CUBE:master Jan 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants