summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_addressbook.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-06 12:07:05 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-06 12:08:13 +0200
commit78c270c9f259c33b703cfb26b96b8dbb062db21e (patch)
tree201579445599534a703482ae7fd65be9011f397c /program/lib/Roundcube/rcube_addressbook.php
parente4f288c3fe8cba1e271d346ec393c02db0793773 (diff)
Fix bugs caught by static analysis
Diffstat (limited to 'program/lib/Roundcube/rcube_addressbook.php')
-rw-r--r--program/lib/Roundcube/rcube_addressbook.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_addressbook.php b/program/lib/Roundcube/rcube_addressbook.php
index 84bd4bfcd..a1b29c3da 100644
--- a/program/lib/Roundcube/rcube_addressbook.php
+++ b/program/lib/Roundcube/rcube_addressbook.php
@@ -535,7 +535,7 @@ abstract class rcube_addressbook
*/
public static function compose_contact_key($contact, $sort_col)
{
- $key = $contact[$sort_col] . ':' . $row['sourceid'];
+ $key = $contact[$sort_col] . ':' . $contact['sourceid'];
// add email to a key to not skip contacts with the same name (#1488375)
if (!empty($contact['email'])) {
@@ -545,7 +545,6 @@ abstract class rcube_addressbook
return $key;
}
-
/**
* Compare search value with contact data
*