Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2021-08-27 17:52:54 +0300
committerAleksander Machniak <alec@alec.pl>2021-08-27 17:52:54 +0300
commite2187b8f2d368da950f62288a5f98ab5758e2df8 (patch)
treeb83cb0a09913ec1d67a47ed45e6f1698caaf47b7 /program/include/rcmail.php
parent20533a1d28fc22e8276989102e61ae96ae320711 (diff)
Fix various PHP 8.1 warnings
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 39605ea61..845a8b028 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1178,7 +1178,7 @@ class rcmail extends rcube
*/
private function fix_namespace_settings($user)
{
- $prefix = $this->storage->get_namespace('prefix');
+ $prefix = (string) $this->storage->get_namespace('prefix');
$prefix_len = strlen($prefix);
if (!$prefix_len) {