Changeset 895 for trunk/Modules/Export


Ignore:
Timestamp:
Mar 6, 2023, 12:24:17 PM (21 months ago)
Author:
chronos
Message:
  • Fixed: More deprecated non-null parameter function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/CreateAddon.php

    r894 r895  
    241241    while ($Line = $DbResult->fetch_array())
    242242    {
    243       $Original = $this->my_trim($Line['En'.$Column['Column']]);
    244       $Translated = $this->my_trim($Line[$Column['Column']]);
     243      $OriginalText = $Line['En'.$Column['Column']];
     244      if ($OriginalText == null) $OriginalText = '';
     245      $TargetText = $Line[$Column['Column']];
     246      if ($TargetText == null) $Targettext = '';
     247      $Original = $this->my_trim($OriginalText);
     248      $Translated = $this->my_trim($TargetText);
    245249      if ($this->ClientVersion['Version'] == '2.4.3')
    246250      {
Note: See TracChangeset for help on using the changeset viewer.