diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-07-23 12:15:50 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-07-23 12:15:50 +0200 |
commit | 83316e175dfb0aa4dde06a975600292be60dd132 (patch) | |
tree | a119e4f462cae2a7575afc7b9bcccfda4e38cb0c /program/lib/Roundcube/rcube_addressbook.php | |
parent | 6b0106a32446a125fd8a4ea7b9637c2378d52f72 (diff) |
Reset $value in a loop
Diffstat (limited to 'program/lib/Roundcube/rcube_addressbook.php')
-rw-r--r-- | program/lib/Roundcube/rcube_addressbook.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_addressbook.php b/program/lib/Roundcube/rcube_addressbook.php index 7566d6546..71d556234 100644 --- a/program/lib/Roundcube/rcube_addressbook.php +++ b/program/lib/Roundcube/rcube_addressbook.php @@ -580,7 +580,8 @@ abstract class rcube_addressbook if (preg_match_all('/\{[a-z]+\}/', $result, $matches)) { foreach ($matches[0] as $key) { - $key = trim($key, '{}'); + $key = trim($key, '{}'); + $value = ''; switch ($key) { case 'name': |