Commit e8512c55 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

minor typo to fix plugin event subscriptions

parent 59f23831
......@@ -334,7 +334,7 @@ function upgrade_plugin($upgrade) {
$exists = false;
$table = $plugintype . '_event_subscription';
if (empty($upgrade->install)) {
$exists = record_exists($table, 'plugin' , $pluginname, 'event', $event->event());
$exists = record_exists($table, 'plugin' , $pluginname, 'event', $event->event);
}
$event->plugin = $pluginname;
if (empty($exists)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment