From 83316e175dfb0aa4dde06a975600292be60dd132 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 23 Jul 2014 06:15:50 -0400
Subject: [PATCH] Reset $value in a loop
---
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 7566d65..71d5562 100644
--- a/program/lib/Roundcube/rcube_addressbook.php
+++ b/program/lib/Roundcube/rcube_addressbook.php
@@ -580,7 +580,8 @@
if (preg_match_all('/\{[a-z]+\}/', $result, $matches)) {
foreach ($matches[0] as $key) {
- $key = trim($key, '{}');
+ $key = trim($key, '{}');
+ $value = '';
switch ($key) {
case 'name':
--
Gitblit v1.9.1