Changeset 326 for trunk/dns.cgi
- Timestamp:
- 05/02/12 17:41:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r325 r326 1828 1828 1829 1829 sub fill_clonemelist { 1830 my $sth = $dbh->prepare("SELECT username,user_id FROM users WHERE group_id=$curgroup");1831 $sth->execute;1832 1833 1830 # shut up some warnings, but don't stomp on caller's state 1834 1831 local $webvar{clonesrc} = 0 if !defined($webvar{clonesrc}); 1835 1832 1836 my @clonesrc; 1837 while (my ($username,$uid) = $sth->fetchrow_array) { 1838 my %row = ( 1839 username => $username, 1840 uid => $uid, 1841 selected => ($webvar{clonesrc} == $uid ? 1 : 0) 1842 ); 1843 push @clonesrc, \%row; 1844 } 1845 $page->param(clonesrc => \@clonesrc); 1833 my $clones = getUserDropdown($dbh, $curgroup, $webvar{clonesrc}); 1834 $page->param(clonesrc => $clones); 1846 1835 } 1847 1836
Note:
See TracChangeset
for help on using the changeset viewer.