1
0
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:
Cameron
2016-12-19 17:57:03 -08:00
parent 098f386c19
commit a3a9ffa1f7
2 changed files with 9 additions and 3 deletions

View File

@@ -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>";
}