Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebleu committed Mar 3, 2023
1 parent f75f832 commit 5df4ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/plugin_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private function view_plugins_table() {
}
$row[] = $movelinks;

$exists = $row[1] != '' && file_exists($CFG->dirroot . "/$CFG->admin/tool/translate/engine/$plugin/settings.php");
$exists = $row[1] != '' && file_exists($CFG->dirroot . "/admin/tool/translate/engine/$plugin/settings.php");
$url = new moodle_url('/admin/settings.php', ['section' => $sub . '_settings']);
$row[] = $exists ? html_writer::link($url, $s) : ' ';

Expand Down

0 comments on commit 5df4ea2

Please sign in to comment.