1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

Added missing class param on Social Login shortcode. eg. {SOCIAL_LOGIN: class=x}

This commit is contained in:
Cameron
2017-10-20 11:37:59 -07:00
parent 1ba4f85570
commit e484795de6
2 changed files with 17 additions and 8 deletions

View File

@@ -164,10 +164,12 @@ class social_shortcodes extends e_shortcode
function sc_social_login($parm=null)
{
$pref = e107::pref('core', 'social_login_active');
if(empty($pref))
{
return;
return null;
}
$sc = e107::getScBatch('signup');