Fix variable name
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 23 Jul 2010 22:08:00 +0000 (16:08 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 23 Jul 2010 22:08:00 +0000 (16:08 -0600)
imp/lib/Prefs/Identity.php

index 34c7777..e297c77 100644 (file)
@@ -380,8 +380,8 @@ class Imp_Prefs_Identity extends Horde_Prefs_Identity
 
             /* If we didn't find the address, check for the domain. */
             if (!empty($address['host']) &&
-                isset($this->_cached['tie_addresses']['@' . $host])) {
-                return $this->_cached['tie_addresses']['@' . $host];
+                isset($this->_cached['tie_addresses']['@' . $address['host']])) {
+                return $this->_cached['tie_addresses']['@' . $address['host']];
             }
 
             /* Next, search all from addresses. */