Changeset 1454


Ignore:
Timestamp:
07/28/20 02:13:29 (8 days ago)
Author:
gogo
Message:

PHP 7.4 Fixes

Ticket #1733

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/contrib/php-xinha.php

    r1422 r1454  
    466466    $val = ini_get('upload_max_filesize'); 
    467467    $val = trim($val); 
    468     $last = strtolower($val{strlen($val)-1}); 
     468    $last = strtolower($val[strlen($val)-1]); 
    469469    switch($last)  
    470470    { 
  • trunk/plugins/MootoolsFileManager/mootools-filemanager/Assets/Connector/FileManager.php

    r1371 r1454  
    54075407                        for ($i = 0; $i < $varlen; $i++) 
    54085408                        { 
    5409                                 $returnstring .= htmlentities($variable{$i}, ENT_QUOTES, 'UTF-8'); 
     5409                                $returnstring .= htmlentities($variable[$i], ENT_QUOTES, 'UTF-8'); 
    54105410                        } 
    54115411                        $returnstring = ($wrap_in_td ? '<span class="dump_string">' : '').nl2br($returnstring).($wrap_in_td ? '</span>' : ''); 
Note: See TracChangeset for help on using the changeset viewer.