Changeset 899 for trunk/Modules/Export/Export.php
- Timestamp:
- Aug 30, 2023, 10:46:15 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/Export.php
r898 r899 298 298 function HaveVariable($String1, $String2, $StartChar = '$') 299 299 { 300 if ( strpos($String1, $StartChar) !== false)300 if (($String1 != '') and (strpos($String1, $StartChar) !== false)) 301 301 { 302 302 while (strpos($String1, $StartChar) !== false) … … 311 311 if (strpos($Variable, chr(10))) $Variable = substr($Variable, 0, strpos($Variable, chr(10))); 312 312 313 if (($Variable != '') and ( strpos($String2, $Variable) === false))313 if (($Variable != '') and (($String2 == '') or (strpos($String2, $Variable) === false))) 314 314 { 315 315 return false;
Note:
See TracChangeset
for help on using the changeset viewer.