Bad variable reference in event hook.
This commit is contained in:
parent
34114e87be
commit
621533a7c2
@ -359,7 +359,7 @@ class File extends Managed_DataObject
|
|||||||
$mimetype = substr($mimetype,0,$semicolon);
|
$mimetype = substr($mimetype,0,$semicolon);
|
||||||
}
|
}
|
||||||
if (in_array($mimetype, $notEnclosureMimeTypes)) {
|
if (in_array($mimetype, $notEnclosureMimeTypes)) {
|
||||||
Event::handle('FileEnclosureMetadata', array($file, &$enclosure));
|
Event::handle('FileEnclosureMetadata', array($this, &$enclosure));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $enclosure;
|
return $enclosure;
|
||||||
|
Loading…
Reference in New Issue
Block a user