Changeset 895


Ignore:
Timestamp:
Mar 6, 2023, 12:24:17 PM (22 months ago)
Author:
chronos
Message:
  • Fixed: More deprecated non-null parameter function.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r894 r895  
    77
    88$Version = '1.0';
    9 $Revision = 894; // Subversion revision
     9$Revision = 895; // Subversion revision
    1010$DatabaseRevision = 891; // Database structure revision
    1111$ReleaseDate = strtotime('2023-03-06');
  • trunk/Install/deb/debian/control

    r894 r895  
    88Package: wowpreklad
    99Architecture: all
    10 Depends: ${shlibs:Depends}, ${misc:Depends}, apache2, php, dbconfig-mysql, nsis
     10Depends: ${shlibs:Depends}, ${misc:Depends}, apache2, php, dbconfig-mysql, nsis, zip
    1111Description: World of Warcraft web translation platform.
    1212HomePage: https://app.zdechov.net/wowpreklad
  • 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.