Commit 18d10688 by Scott

Fix options link in admin

parent c8e3ee70
...@@ -668,7 +668,7 @@ function qa_admin_plugin_options_path($directory) ...@@ -668,7 +668,7 @@ function qa_admin_plugin_options_path($directory)
function qa_admin_module_options_path($type, $name) function qa_admin_module_options_path($type, $name)
{ {
$info = qa_get_module_info($type, $name); $info = qa_get_module_info($type, $name);
$dir = rtrim($info['directory'], '/'); $dir = basename($info['directory']);
return qa_admin_plugin_options_path($dir); return qa_admin_plugin_options_path($dir);
} }
Markdown is supported
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