Posted by cangeceiro on October 23, 2009 at 3:06pm
Jump to:
| Project: | Embedded Media Field |
| Version: | 6.x-1.12 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I found an error in hooks/emfield.php on line 84.
function EMMODULE_PROVIDER_extract($embed, $field) {
return array(
'@example\.com/video/(*+)@i'
'@example\.com/rss/video/(*+)@i'
);
}should be
function EMMODULE_PROVIDER_extract($embed, $field) {
return array(
'@example\.com/video/(*+)@i',
'@example\.com/rss/video/(*+)@i'
);
}note the coma after the first regex in the array
Comments
#1
@cangeceiro: awesome, thanks for the catch!
#2
Automatically closed -- issue fixed for 2 weeks with no activity.