Changeset 364
- Timestamp:
- Dec 16, 2009 7:25:39 PM (14 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Email.inc.php
r362 r364 270 270 // Ensure required values exist. 271 271 if (!isset($this->_params['subject'])) { 272 $app->logMsg( sprintf('Cannot send email to %s. SUBJECT not defined.', $this->_params['to']), LOG_ERR, __FILE__, __LINE__);272 $app->logMsg('Cannot send email. SUBJECT not defined.', LOG_ERR, __FILE__, __LINE__); 273 273 return false; 274 274 } else if (!isset($this->_template)) { -
trunk/lib/Utilities.inc.php
r363 r364 185 185 return empty($replace) ? $text : preg_replace($search, $replace, $text); 186 186 } 187 188 187 189 188 /** … … 478 477 } 479 478 480 481 479 /** 482 480 * If $var is net set or null, set it to $default. Otherwise leave it alone. … … 529 527 function urlEncodeArray($data, $prefix='', $_return=true) 530 528 { 531 532 529 // Data is stored in static variable. 533 530 static $args; … … 841 838 return mb_substr($signed_val, 0, mb_strrpos($signed_val, '-')); 842 839 } 843 844 840 845 841 /** … … 1138 1134 } 1139 1135 1140 1141 1142 1136 ?>
Note: See TracChangeset
for help on using the changeset viewer.