Plugin Directory

Changeset 397987


Ignore:
Timestamp:
06/16/2011 03:35:05 PM (15 years ago)
Author:
roggie
Message:

bug fix: fixed crash when no group ID supplied

Location:
sfce-create-event/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sfce-create-event/trunk/readme.txt

    r348238 r397987  
    66Requires at least: 2.7
    77Tested up to: 3.0.4
    8 Stable tag:3.95.5
     8Stable tag:3.95.9
    99
    1010Create Facebook events automatically when you create Wordpress posts. This plugin requires the Simple Facebook Connect plugin by Otto.
  • sfce-create-event/trunk/sfce-create-event.php

    r372472 r397987  
    22/*
    33Plugin Name: SFCe - Create Event
    4 Version: 3.95.8
     4Version: 3.95.9
    55Author: Roger Howorth
    66Author URI: http://www.thehypervisor.com
     
    101101        }
    102102    // Invite people?
    103     if ( isset( $args['group_id'])) {
     103    if ( $args['group_id'] <> '') {
    104104        $invite_ok = sfce_invite_people( array(
    105105        'app_id' => $fboptions['appid']
     
    112112        ));
    113113    }
    114     if ( isset( $args['invite_page'])) {
     114    if ( $args['invite_page'] <> '' ) {
    115115        $invite_ok = sfce_invite_people( array(
    116116        'app_id' => $fboptions['appid']
Note: See TracChangeset for help on using the changeset viewer.