1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

PHP 7.1 Fixes.

This commit is contained in:
Cameron
2016-12-16 10:53:59 -08:00
parent 982fa869e3
commit e05425fbb2
4 changed files with 15 additions and 7 deletions

View File

@@ -187,9 +187,8 @@ class social_shortcodes extends e_shortcode
* $socialArray = array('url'=>'your-url-here', 'title'=>'your-title-here');
e107::getScBatch('social')->setVars($socialArray);
*/
function sc_socialshare($parm='') // Designed so that no additional JS required.
function sc_socialshare($parm=array()) // Designed so that no additional JS required.
{
$pref = e107::pref('social');
if(varset($pref['sharing_mode']) == 'off')