Plugin Directory

Changeset 338165


Ignore:
Timestamp:
01/28/2011 02:05:48 PM (15 years ago)
Author:
roggie
Message:

fixing versin mubers

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

Legend:

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

    r338163 r338165  
    66Requires at least: 2.7
    77Tested up to: 3.0.4
    8 Stable tag:3.94.4
     8Stable tag:3.94.1
    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_post.php

    r338146 r338165  
    236236                    }
    237237                    // Replace matches with the data
    238                     foreach ($res as $ras) $_POST[$input['name']] = str_replace( '[[' . $ras['key'] . ']]', $ras['data'], $_POST[$input['name']]);
     238                    if ( $res ) foreach ($res as $ras) $_POST[$input['name']] = str_replace( '[[' . $ras['key'] . ']]', $ras['data'], $_POST[$input['name']]);
    239239                    unset($res);
    240240                }
Note: See TracChangeset for help on using the changeset viewer.