Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21768

eZCollaborationItemGroupLink: Variable comparison instead of assignment

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.3
    • 5.3-dev
    • None
    • None

    Description

      In eZCollaborationItemGroupLink the methods fetch() and fetchList have variable comparisons instead of assignments:

      When $userID is not provided (or false is given) to the methods fetch() and fetchList() the current user's ID should be used. Currently, $userID would remain false because it is compared to eZUser::currentUserID(); instead that the latter is assigned to the former.

      if ( $userID == false )
          $userID == eZUser::currentUserID();
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgamez jgamez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: