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

Status:active» fixed

@cangeceiro: awesome, thanks for the catch!

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here