Ignore:
Timestamp:
Aug 30, 2023, 10:46:15 PM (8 months ago)
Author:
chronos
Message:
  • Fixed: Process task export error.
File:
1 edited

Legend:

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

    r898 r899  
    298298  function HaveVariable($String1, $String2, $StartChar = '$')
    299299  {
    300     if (strpos($String1, $StartChar) !== false)
     300    if (($String1 != '') and (strpos($String1, $StartChar) !== false))
    301301    {
    302302      while (strpos($String1, $StartChar) !== false)
     
    311311        if (strpos($Variable, chr(10))) $Variable = substr($Variable, 0, strpos($Variable, chr(10)));
    312312
    313         if (($Variable != '') and (strpos($String2, $Variable) === false))
     313        if (($Variable != '') and (($String2 == '') or (strpos($String2, $Variable) === false)))
    314314        {
    315315          return false;
Note: See TracChangeset for help on using the changeset viewer.