Support » Plugin: OSD Social Media Sharing » isset required for osd_remove_sms_icons

  • MisterBooth

    (@misterbooth)


    You need to add an isset on line 57 in post_settings.php.

    $val = ( isset( $_POST[‘osd_remove_sms_icons’] ) && $_POST[‘osd_remove_sms_icons’] == 1 ) ? 1 : 0;

    Without it when editing a post it would display an error with an undefined index: osd_remove_sms_icons.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘isset required for osd_remove_sms_icons’ is closed to new replies.