Fix configuration specifier.
authorJan Schneider <jan@horde.org>
Mon, 13 Sep 2010 12:48:02 +0000 (14:48 +0200)
committerJan Schneider <jan@horde.org>
Mon, 13 Sep 2010 13:35:10 +0000 (15:35 +0200)
framework/Core/lib/Horde/Config.php

index e9881b9..6995008 100644 (file)
@@ -725,7 +725,7 @@ class Horde_Config
 
             'writeas' => array(
                 'desc' => 'Bind to LDAP as which user when performing writes?',
-                'default' => $this->_default($ctx . '|user', 'search'),
+                'default' => $this->_default($ctx . '|writeas', 'search'),
                 'switch' => array(
                     'user' => array(
                         'desc' => 'Bind as the currently logged-in user',