Skip to content

Commit

Permalink
MDL-76556 tool_log: Set the store property correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Dec 3, 2022
1 parent 7f5f04d commit ed29852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/log/classes/helper/store.php
Expand Up @@ -57,7 +57,7 @@ protected function helper_setup(\tool_log\log\manager $manager) {
throw new \coding_exception("Store $called doesn't define classes in correct namespaces.");
}
$this->component = $parts[0];
$this->store = str_replace('logstore_', '', $this->store);
$this->store = str_replace('logstore_', '', $this->component);
}

/**
Expand Down

0 comments on commit ed29852

Please sign in to comment.