diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php index 159a34ef986..ee3bf8ba293 100644 --- a/program/lib/Roundcube/rcube.php +++ b/program/lib/Roundcube/rcube.php @@ -659,10 +659,9 @@ public function text_exists($name, $domain = null, &$ref_domain = null) // any of loaded domains (plugins) if ($domain == '*') { - // @phpstan-ignore-next-line - foreach ($this->plugins->loaded_plugins() as $domain) { - if (isset($this->texts[$domain . '.' . $name])) { - $ref_domain = $domain; + foreach ($this->plugins->loaded_plugins() as $domain2) { + if (isset($this->texts[$domain2 . '.' . $name])) { + $ref_domain = $domain2; return true; } }