$feed_id
)
);
+ // Set new updated date for feed
+ $this->wpdb->update(
+ GLM_MEMBERS_EVENTS_PLUGIN_DB_PREFIX . 'feed_import',
+ array( 'updated' => current_time( 'mysql' ) ),
+ array( 'id' => $feed_id ),
+ '%s',
+ '%d'
+ );
$Recurrences = new GlmDataEventsRecurrences($this->wpdb, $this->config);
require_once GLM_MEMBERS_PLUGIN_PATH.'/models/admin/ajax/imageUpload.php';
$image = '';
$event['DESCRIPTION']
= str_replace( '\n', "<br>", $event['DESCRIPTION'] );
- $intro = substr($event['DESCRIPTION'], 0 ,150);
+ $intro = substr( strip_tags( $event['DESCRIPTION'] ), 0 ,150);
if ( isset( $event['CONTACT'] ) ) {
$contact_data = explode( ',', str_replace( '\\', '', $event['CONTACT'] ) );
if ( $debug ) {