diff options
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_compose.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index 1c14f917d5..2a05db89a1 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -666,7 +666,8 @@ function compose_pm($id, $mode, $action) } $u = $g = array(); - foreach (array('u', 'g') as $type) + $_types = array('u', 'g'); + foreach ($_types as $type) { if (isset($result[$type]) && $result[$type]) { |