Commit 61836039 authored by Nigel McNie's avatar Nigel McNie
Browse files

Make sure the plugin is loaded before looking for its i18n function

(cherry picked from commit ed506e0c)
parent 2a0809ed
......@@ -1072,6 +1072,7 @@ EOF;
}
// Fall back to the default string
$this->include_plugin($plugin, $pluginname);
$function = 'pieform_' . $plugin . '_' . $pluginname . '_i18n';
if (function_exists($function)) {
$strings = $function();
......
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