Change Owner in Security Tab in Assets is not always Working

This commit is contained in:
JT Smith 2007-09-07 15:31:07 +00:00
parent f6d7496f14
commit 0b2b83c34f
2 changed files with 2 additions and 1 deletions

View file

@ -609,7 +609,7 @@ sub www_formUsers {
my ($userCount) = $session->db->quickArray("select count(*) from users");
return $output unless ($session->form->process("doit") || $userCount<250 || $session->form->process("pn") > 1);
$output .= '<ul>';
my $p = doUserSearch($session,"formUsers",1);
my $p = doUserSearch($session,"formUsers;formId=".$session->form->process("formId"),1);
foreach my $data (@{$p->getPageData}) {
$output .= '<li><a href="#" onclick="window.opener.document.getElementById(\''.$session->form->process("formId").'\').value=\''.$data->{userId}.'\';window.opener.document.getElementById(\''.$session->form->process("formId").'_display\').value=\''.$data->{username}.'\';window.close();">'.$data->{username}.'</a></li>';
}