vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r7586: LJSUP-4718: fix access permitions to rat...

Committer: vsukhanov
LJSUP-4718: fix access permitions to ratings.

U   trunk/htdocs/index.bml
Modified: trunk/htdocs/index.bml
===================================================================
--- trunk/htdocs/index.bml	2009-08-21 08:03:06 UTC (rev 7585)
+++ trunk/htdocs/index.bml	2009-08-21 09:43:04 UTC (rev 7586)
@@ -139,7 +139,7 @@
         $ret .= "</div>";
 
         # Access only Cyr users who logged in.
-        if ($remote && LJ::SUP->is_remote_sup()) {
+        if (LJ::SUP->is_remote_sup){
             $ret .= LJ::PersonalStats->get_result_html($remote, { widget => 1 }, '/ratings/posts/') unless $LJ::DISABLED{'personal_stats'};
         }
 

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments