Skip to content

Commit

Permalink
Make sure the user name is a string (Bug #13934).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 31, 2015
1 parent ed3d77f commit 0e9a737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Prefs/lib/Horde/Prefs/Storage/Base.php
Expand Up @@ -31,7 +31,7 @@ abstract class Horde_Prefs_Storage_Base
public function __construct($user, array $params = array())
{
$this->_params = array_merge($this->_params, $params);
$this->_params['user'] = $user;
$this->_params['user'] = (string)$user;
}

/**
Expand Down

0 comments on commit 0e9a737

Please sign in to comment.