diff --git a/e107_plugins/pm/pm_class.php b/e107_plugins/pm/pm_class.php index 581a73636..126d6158d 100755 --- a/e107_plugins/pm/pm_class.php +++ b/e107_plugins/pm/pm_class.php @@ -386,7 +386,11 @@ class private_message $template = $PM_NOTIFY; */ - $template = e107::getTemplate('pm', 'pm', 'notify'); + if(THEME_LEGACY){ + include_once(THEME.'pm_template.php'); + $template = $PM_NOTIFY; + } + if (!$PM_NOTIFY){$template = e107::getTemplate('pm', 'pm', 'notify');} if(empty($template)) // BC Fallback. { @@ -923,4 +927,4 @@ class private_message } -} \ No newline at end of file +}