mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Social: Fix for facebook comments not loading after news upgrade.
This commit is contained in:
@@ -49,7 +49,7 @@ class social_comment
|
||||
function facebook($data)
|
||||
{
|
||||
|
||||
if(!deftrue('SOCIAL_FACEBOOK_INIT'))
|
||||
if(!deftrue('SOCIAL_FACEBOOK_INIT') && ADMIN)
|
||||
{
|
||||
return "<div class='alert alert-important alert-danger'>Unable to render comments. Missing Facebook appID.</div>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user