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:
@@ -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']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user