Changeset 743 for trunk/lib/Email.inc.php
- Timestamp:
- Apr 23, 2021 11:00:26 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Email.inc.php
r735 r743 294 294 if (preg_match('/({[^}]+})/', $final_body, $unreplaced_match)) { 295 295 unset($unreplaced_match[0]); 296 $app->logMsg(sprintf('Cannot get email body. Unreplaced variable %s in template %s', getDump($unreplaced_match)), LOG_ERR, __FILE__, __LINE__);296 $app->logMsg(sprintf('Cannot get email body. Unreplaced variable(s) "%s" in template "%s"', getDump($unreplaced_match), $this->_template_filename), LOG_ERR, __FILE__, __LINE__); 297 297 return false; 298 298 } … … 352 352 if (preg_match('/({[^}]+})/', $final_body, $unreplaced_match)) { 353 353 unset($unreplaced_match[0]); 354 $app->logMsg(sprintf('Unreplaced variable "%s" in template "%s"', getDump($unreplaced_match), $this->_template_filename), LOG_ERR, __FILE__, __LINE__); 354 $app->logMsg(sprintf('Unreplaced variable(s) "%s" in template "%s"', getDump($unreplaced_match), $this->_template_filename), LOG_ERR, __FILE__, __LINE__); 355 return false; 355 356 } 356 357
Note: See TracChangeset
for help on using the changeset viewer.