Mercurial > hg > rc2
comparison program/lib/Roundcube/rcube.php @ 21:73124dd49283
More cleaning up php8 Warnings/deprecations,
noticed that setting non-my-Dates mailboxes to sort on Date isn't sticky over ctrl-R
| author | Charlie Root |
|---|---|
| date | Thu, 09 Oct 2025 11:31:41 -0400 |
| parents | 85a746e95663 |
| children |
comparison
equal
deleted
inserted
replaced
| 20:4aec5e272733 | 21:73124dd49283 |
|---|---|
| 623 } | 623 } |
| 624 // check for text with domain | 624 // check for text with domain |
| 625 if ($domain && ($text = $this->texts[$domain.'.'.$name])) { | 625 if ($domain && ($text = $this->texts[$domain.'.'.$name])) { |
| 626 } | 626 } |
| 627 // text does not exist | 627 // text does not exist |
| 628 else if (!($text = $this->texts[$name])) { | 628 else if (!($text = ($this->texts[$name]??null))) { |
| 629 return "[$name]"; | 629 return "[$name]"; |
| 630 } | 630 } |
| 631 // replace vars in text | 631 // replace vars in text |
| 632 if (is_array($attrib['vars'] ?? false)) { | 632 if (is_array($attrib['vars'] ?? false)) { |
| 633 foreach ($attrib['vars'] as $var_key => $var_value) { | 633 foreach ($attrib['vars'] as $var_key => $var_value) { |
