mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Fixes #2286 - Properly check for attachment when sending PM
This commit is contained in:
@@ -534,6 +534,8 @@ class pm_extended extends private_message
|
||||
}
|
||||
|
||||
|
||||
if(!empty($_POST['uploaded']))
|
||||
{
|
||||
if(check_class($this->pmPrefs['attach_class']))
|
||||
{
|
||||
$_POST['uploaded'] = $this->processAttachments();
|
||||
@@ -553,6 +555,7 @@ class pm_extended extends private_message
|
||||
unset($_POST['uploaded']);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
$_POST['from_id'] = USERID;
|
||||
|
||||
|
Reference in New Issue
Block a user