Page MenuHomeIn-Portal Phabricator

D190.diff
No OneTemporary

File Metadata

Created
Sun, Jun 29, 2:28 AM

D190.diff

Index: branches/5.2.x/core/kernel/processors/main_processor.php
===================================================================
--- branches/5.2.x/core/kernel/processors/main_processor.php
+++ branches/5.2.x/core/kernel/processors/main_processor.php
@@ -1157,7 +1157,7 @@
$esender = $this->Application->recallObject($pseudo);
/* @var $esender kEmailSendingHelper */
- if ( file_exists($path) ) {
+ if ( file_exists($path) && is_file($path) ) {
$esender->AddAttachment($path);
}
}

Event Timeline