projects
/
banana.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean params to remove empty strings and fix the default checkCancel implementation
[banana.git]
/
banana
/
message.inc.php
diff --git
a/banana/message.inc.php
b/banana/message.inc.php
index
56885f7
..
5caa802
100644
(file)
--- a/
banana/message.inc.php
+++ b/
banana/message.inc.php
@@
-303,7
+303,7
@@
final class BananaMessage extends BananaMimePart
if (function_exists('hook_checkcancel')) {
return hook_checkcancel($this->headers);
}
- return Banana::$profile['
name
'] == $this->headers['from'];
+ return Banana::$profile['
headers']['From
'] == $this->headers['from'];
}
public function canSend()