Bug #9308: Fix variable name
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 20 Oct 2010 18:15:44 +0000 (12:15 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 20 Oct 2010 18:15:48 +0000 (12:15 -0600)
framework/Prefs/lib/Horde/Prefs/Identity.php

index 5928a5f..9afbadb 100644 (file)
@@ -132,7 +132,7 @@ class Horde_Prefs_Identity
         }
 
         if ($this->_prefs->isLocked($this->_prefnames['default_identity'])) {
-            foreach ($this->_properties as $key) {
+            foreach ($this->_prefnames['properties'] as $key) {
                 $value = $this->getValue($key);
                 if (is_array($value)) {
                     $value = implode("\n", $value);
@@ -300,7 +300,7 @@ class Horde_Prefs_Identity
      */
     public function isLocked()
     {
-        foreach ($this->_properties as $key) {
+        foreach ($this->_prefnames['properties'] as $key) {
             if (!$this->_prefs->isLocked($key)) {
                 return false;
             }