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

[HipHop check] eZTextCodec() constructor called with only 1 arg in eZCodePageCodec, but several args are needed

    XMLWordPrintable

Details

    Description

      In lib/ezi18n/classes/ezcodepagecodec.php, the constructor is:

          /*!
           Initializes the codepage codec with $name
          */
          function eZCodePageCodec( $name )
          {
              $this->eZTextCodec( $name );
              $this->CodePage = false;
          }
      

      But the constructor of eZTextCodec needs more than just 1 param (look at lib/ezi18n/classes/eztextcodec.php):

          function eZTextCodec( $inputCharsetCode, $outputCharsetCode,
                                $realInputCharsetCode, $realOutputCharsetCode,
                                $inputEncoding, $outputEncoding )
          {
           ....
           }
      

      Attachments

        Activity

          People

            unknown unknown
            enzo enzo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: