From 0191c3bda2ee96008f1a84c84e373c6faf3718af Mon Sep 17 00:00:00 2001 From: rica-carv Date: Tue, 11 Apr 2017 20:47:09 +0100 Subject: [PATCH] Update pm_class.php --- e107_plugins/pm/pm_class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 +}