* Configuration of databasename, username and password is done
* by using conf.pl or the administrator plugin
*
- * @copyright © 1999-2007 The SquirrelMail Project Team
+ * @copyright 1999-2016 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @var array
*/
var $default = Array('theme_default' => 0,
+ 'include_self_reply_all' => '0',
+ 'do_not_reply_to_self' => '1',
'show_html_default' => '0');
/**
if (!empty($prefs_user_field)) {
$this->user_field = $prefs_user_field;
}
+
+ // the default user field is "user", which in PostgreSQL
+ // is an identifier and causes errors if not escaped
+ //
+ if ($this->db_type == SMDB_PGSQL) {
+ $this->user_field = '"' . $this->user_field . '"';
+ }
+
if (!empty($prefs_key_field)) {
$this->key_field = $prefs_key_field;
}