1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +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 = 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
}
}
}