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:
@@ -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
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user