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

ezpublish_legacy: eZPersistentObject $this->$def["functions"][$attr]();

    Details

      Description

      I think i found an syntax error in eZPersistentObject

      https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/classes/ezpersistentobject.php#L1342

      this code
      if ( isset( $def["functions"][$attr] ) )

      { return $this->$def["functions"][$attr](); }

      should be

      if ( isset( $def["functions"][$attr] ) )

      { return $def["functions"][$attr](); }

      I don't know if this code is used in any case.
      But i think this code could not work.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Felix Woldt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: