Committer: vad
LJSUP-13165: remove warnings and errors from logU trunk/htdocs/tools/endpoints/comments.bml
Modified: trunk/htdocs/tools/endpoints/comments.bml =================================================================== --- trunk/htdocs/tools/endpoints/comments.bml 2012-07-31 15:24:40 UTC (rev 12384) +++ trunk/htdocs/tools/endpoints/comments.bml 2012-07-31 19:29:38 UTC (rev 12385) @@ -72,7 +72,7 @@ unless ! $partner->rate_limits || LJ::RateLimit->check( $journal, $partner->rate_limits ); - if ( $partner->send_hits_to_ratings ) { + if ( $partner->can('send_hits_to_ratings') and $partner->send_hits_to_ratings ) { if ( my $entry = $partner->find_entry_by_docid($docid) ) { push @LJ::SUP_LJ_ENTRY_REQ, [ $journal->userid, $journal->userid, $entry->ditemid ];