aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-07 08:44:12 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-07 08:44:12 +0000
commit5f34b5d150fc3fcafd313ff9cadd11d5f7d7aac0 (patch)
tree5115c2f1c7c0164e962dc286ad1dd45ea48985b5 /phpBB/includes/functions_privmsgs.php
parentc307c5021a63335b43c7eec8b9f3cc593573447f (diff)
downloadforums-5f34b5d150fc3fcafd313ff9cadd11d5f7d7aac0.tar
forums-5f34b5d150fc3fcafd313ff9cadd11d5f7d7aac0.tar.gz
forums-5f34b5d150fc3fcafd313ff9cadd11d5f7d7aac0.tar.bz2
forums-5f34b5d150fc3fcafd313ff9cadd11d5f7d7aac0.tar.xz
forums-5f34b5d150fc3fcafd313ff9cadd11d5f7d7aac0.zip
#2109
git-svn-id: file:///svn/phpbb/trunk@6017 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r--phpBB/includes/functions_privmsgs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 25b8ee8fbb..8cb34bafb9 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1101,10 +1101,10 @@ function get_folder_status($folder_id, $folder)
'remaining' => $user->data['message_limit'] - $folder['num_messages'],
'max' => $user->data['message_limit'],
'percent' => ($user->data['message_limit'] > 0) ? round(($folder['num_messages'] / $user->data['message_limit']) * 100) : 100,
-
- 'message' => sprintf($user->lang['FOLDER_STATUS_MSG'], $return['percent'], $return['cur'], $return['max']),
);
+ $return['message'] = sprintf($user->lang['FOLDER_STATUS_MSG'], $return['percent'], $return['cur'], $return['max']);
+
return $return;
}