1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 06:33:22 +02:00

Fixes #965 - Fatal error on Social plugin.

This commit is contained in:
Cameron
2015-05-20 11:20:22 -07:00
parent 29e660fdea
commit 715d99f48c
5 changed files with 9 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ class social_admin
{
$pref = e107::pref('core','social_login');
if(!empty($pref))
if(!empty($pref) && is_array($pref['Twitter']))
{
$this->twitterActive = vartrue($pref['Twitter']['keys']['key']);
}