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

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

parent 18a761ac
......@@ -1068,6 +1068,7 @@ EOF;
}
// Fall back to the default string
$this->include_plugin($plugin, $pluginname);
$function = 'pieform_' . $plugin . '_' . $pluginname . '_i18n';
if (function_exists($function)) {
$strings = $function();
......
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