Changeset 247
- Timestamp:
- 02/28/12 16:42:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r245 r247 2226 2226 my $groupid = shift; 2227 2227 my $entry = shift; 2228 my $revid = shift || 0; 2228 2229 2229 2230 ##fixme: push SQL into DNSDB.pm … … 2233 2234 my ($user_id, $fullname) = $sth->fetchrow_array; 2234 2235 2235 $sth = $dbh->prepare("INSERT INTO log (domain_id,user_id,group_id,email,name,entry ) ".2236 "VALUES (?,?,?,?,?,? )") or warn $dbh->errstr;2237 $sth->execute($domid,$user_id,$groupid,$username,$fullname,$entry ) or warn $sth->errstr;2236 $sth = $dbh->prepare("INSERT INTO log (domain_id,user_id,group_id,email,name,entry,rdns_id) ". 2237 "VALUES (?,?,?,?,?,?,?)") or warn $dbh->errstr; 2238 $sth->execute($domid,$user_id,$groupid,$username,$fullname,$entry,$revid) or warn $sth->errstr; 2238 2239 } # end logaction() 2239 2240
Note:
See TracChangeset
for help on using the changeset viewer.