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

Problem in function validateObjectAttributeHTTPInput in class ezemailtype.php

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.2.0beta1
    • 4.1.3
    • None
    • Operating System: na
      PHP Version: na
      Database and version: na
      Browser (and version): na

    Description

      In the class "ezemailtype.php" there might be an error in :

      function validateObjectAttributeHTTPInput( $http, $base, $contentObjectAttribute )

      The following statement on line 81

      $classAttribute = $contentObjectAttribute->contentClassAttribute();
      

      should be placed before the "if" line 78,

      otherwise $classAttribute is not initialized when passing in the "else if" line 102 (giving then a PHP error)

      Hakim

      Attachments

        Activity

          People

            bd bd
            hakim hakim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: