projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fcc166
)
Revert "Checking existence for an array element on a string will always evaluate...
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 17 Jan 2009 22:57:05 +0000
(17:57 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 17 Jan 2009 22:57:05 +0000
(17:57 -0500)
$addresses will always be an array here.
This reverts commit
3fcc166e4adf4156865e9d1ce74f8ab01f0a9739
.
framework/Mime/lib/Horde/Mime.php
patch
|
blob
|
history
diff --git
a/framework/Mime/lib/Horde/Mime.php
b/framework/Mime/lib/Horde/Mime.php
index
f201be6
..
a0dcfa0
100644
(file)
--- a/
framework/Mime/lib/Horde/Mime.php
+++ b/
framework/Mime/lib/Horde/Mime.php
@@
-209,8
+209,8
@@
class Horde_Mime
$text = '';
foreach ($addresses as $addr) {
// Check for groups.
- if (
!is_array($addr) || (is_array($addr) && empty($addr['groupname'])
)) {
- if (
!is_array($addr) || (is_array($addr) && empty($addr['personal'])
)) {
+ if (
empty($addr['groupname']
)) {
+ if (
empty($addr['personal']
)) {
$personal = '';
} else {
if (($addr['personal'][0] == '"') &&