1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Update pm_class.php

This commit is contained in:
rica-carv
2017-04-11 20:47:09 +01:00
committed by GitHub
parent 4490ea48bb
commit 0191c3bda2

View File

@@ -386,7 +386,11 @@ class private_message
$template = $PM_NOTIFY; $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. if(empty($template)) // BC Fallback.
{ {
@@ -923,4 +927,4 @@ class private_message
} }
} }