summaryrefslogtreecommitdiff
path: root/includes/pages/user_messages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/user_messages.php')
-rw-r--r--includes/pages/user_messages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_messages.php b/includes/pages/user_messages.php
index 9b587343..0ac554b8 100644
--- a/includes/pages/user_messages.php
+++ b/includes/pages/user_messages.php
@@ -16,7 +16,7 @@ function messages_title()
*/
function user_unread_messages()
{
- $user = Auth()->user();
+ $user = auth()->user();
if ($user) {
$new_messages = count(DB::select(