Reset $value in a loop

pull/208/head
Aleksander Machniak 10 years ago
parent 6b0106a324
commit 83316e175d

@ -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':

Loading…
Cancel
Save