- Timestamp:
- Feb 10, 2022 1:48:35 AM (2 years ago)
- Location:
- trunk/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Email.inc.php
r743 r759 263 263 $search = array_keys($replacements); 264 264 array_walk($search, function (&$v) { 265 $v = '{' . mb_strtoupper($v) . '}';265 $v = sprintf('{%s}', mb_strtoupper($v)); 266 266 }); 267 267 -
trunk/lib/TemplateGlue.inc.php
r615 r759 80 80 81 81 $row = mysql_fetch_row($qid); 82 if ( preg_match('/^enum|^set/i', $row[1]) && preg_match_all("/'([^']*)'/", $row[1], $enum)) {82 if (isset($row[1]) && preg_match('/^enum|^set/i', $row[1]) && preg_match_all("/'([^']*)'/", $row[1], $enum)) { 83 83 if ($sort) { 84 84 natsort($enum[1]); -
trunk/lib/Utilities.inc.php
r757 r759 361 361 * @access public 362 362 * @param string $text A string for which to convert to color. 363 * @return string A hexadecimal html color. 363 * @param float $n Brightness value between 0-1. 364 * @return string A hexadecimal html color. 364 365 */ 365 366 function getTextColor($text, $method=1, $n=0.87)
Note: See TracChangeset
for help on using the changeset viewer.