diff options
author | Aleksander Machniak <alec@alec.pl> | 2021-08-27 17:52:54 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2021-08-27 17:52:54 +0300 |
commit | e2187b8f2d368da950f62288a5f98ab5758e2df8 (patch) | |
tree | b83cb0a09913ec1d67a47ed45e6f1698caaf47b7 /program/include/rcmail.php | |
parent | 20533a1d28fc22e8276989102e61ae96ae320711 (diff) |
Fix various PHP 8.1 warnings
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 2 |
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) { |