プロジェクト

全般

プロフィール

Backport(バックポート) #984

Application::isHadByMember() don't wrong.

Shogo Kawaharaほぼ14年前に追加. ほぼ14年前に更新.

ステータス:
Fixed(完了)
優先度:
Normal(通常)
担当者:
対象バージョン:
開始日:
2010-04-27
期日:
進捗率:

100%


説明

Overview

Application::isHadByMember() don't wrong when parameter is blank.

Causes

以下のコードが不適切です。

     if ($memberId === null)
     {
       sfContext::getInstance()->getUser()->getMemberId();
     }

正しくはこのようになります

     if ($memberId === null)
     {
       $memberId = sfContext::getInstance()->getUser()->getMemberId();
     }

関連するチケット

関連している opOpenSocialPlugin - Bug(バグ) #983: Application::isHadByMember() don't wrong. Fixed(完了) 2010-04-27

関係しているリビジョン

リビジョン ee3dba20 (差分)
Shogo Kawaharaほぼ14年前に追加

fixed Application::isHadByMember() doesn't return the correct result when parameter is empty (fixes #984;BP from #983)

履歴

#1 Shogo Kawaharaほぼ14年前に更新

  • 対象バージョン1.0.2 から 0.9.7 に変更

#2 匿名ユーザー がほぼ14年前に更新

  • ステータスNew(新規) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

更新履歴 ee3dba207a4e290334e11deb27e6783ea95accd1 で適用されました。

#3 Shogo Kawaharaほぼ14年前に更新

  • ステータスPending Review(レビュー待ち) から Fixed(完了) に変更

他の形式にエクスポート: Atom PDF