projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac9871f
)
Update code for bad function name
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 12 Dec 2016 20:22:46 +0000
(15:22 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 12 Dec 2016 20:23:59 +0000
(15:23 -0500)
Need to call strip_tags
models/admin/management/events.php
patch
|
blob
|
history
diff --git
a/models/admin/management/events.php
b/models/admin/management/events.php
index
4a2e337
..
b9231d6
100644
(file)
--- a/
models/admin/management/events.php
+++ b/
models/admin/management/events.php
@@
-722,7
+722,7
@@
class GlmMembersAdmin_management_events extends GlmDataEventsManagement
}
}
if ( $old_event_format ) {
- $intro = substr( trip_tags( $event['descr'] ), 0, 150 );
+ $intro = substr(
s
trip_tags( $event['descr'] ), 0, 150 );
// Remove uneeded newlines from both intro and description
$intro = preg_replace( "/\s\s+/", ' ', $intro );
$descr = preg_replace( "/\s\s+/", ' ', $event['descr'] );