* fix errors.

This commit is contained in:
wyd621
2014-04-04 03:20:37 +00:00
parent 60002b6458
commit ad56722808
10 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
// echo "<li id='account'>" . html::select('account', $users, $account, "onchange=changeUser(this.value,$projectID)") . '</li>';
echo "<li id='account' class='dropdown'>";
$current = $users[isset($account) ? $account : ''];
$current = zget($users, isset($account) ? $account : '', '');
if(empty($current)) $current = $lang->project->byUser;
echo html::a('javascript:;', $current . " <span class='caret'></span>", '', "data-toggle='dropdown'");
echo "<ul class='dropdown-menu'>";