From 25dd2a9901e43785b5a38ef22bc16c90a0bf814e Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Wed, 12 Mar 2014 11:08:26 +0100 Subject: [PATCH] [FIX] user auth status --- public/include/pages/account/earnings.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/pages/account/earnings.inc.php b/public/include/pages/account/earnings.inc.php index 852bd531..c4fe7015 100644 --- a/public/include/pages/account/earnings.inc.php +++ b/public/include/pages/account/earnings.inc.php @@ -2,7 +2,7 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; // Check user authentication status -if (!$user->isAuthenticated()) { +if ($user->isAuthenticated()) { if (!$smarty->isCached('master.tpl', $smarty_cache_key)) { $iLimit = 30; $debug->append('No cached version available, fetching from backend', 3);