Main account now in the list.

This commit is contained in:
Boris Gulay
2016-05-12 18:20:17 +03:00
parent 0e92fe4f02
commit 92ed8e8364

View File

@@ -70,7 +70,12 @@ class ident_switch extends rcube_plugin
if (!empty($sOpt))
{
// TODO: Add main account
// Add main account
$sOpt = html::tag(
'option',
array('value' => -1),
$_SESSION['global_alias'] ? $_SESSION['global_alias'] : $rc->user->data['username']
) . $sOpt;
$this->include_script('ident_switch.js');
$sw = html::tag(