1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Issue #1176 string offset as an array error.

This commit is contained in:
Cameron
2015-09-03 10:40:17 -07:00
parent 1e786bca41
commit 37e8fa337a

View File

@@ -18,7 +18,11 @@ class social_comment
function __construct()
{
$social = e107::pref('core','social_login');
$this->facebookActive = vartrue($social['Facebook']['keys']['id']);
if(!empty($social))
{
$this->facebookActive = vartrue($social['Facebook']['keys']['id']);
}
}