Changeset 576 for trunk/cgi-bin/IPDB.pm


Ignore:
Timestamp:
12/21/12 17:49:08 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Work in progress, see #5:
Update templates and calling code for allocation update to pass
around rdepth as needed, and to set some breadcrumbs-lite to
make it easier to get back where you were

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r574 r576  
    10591059  return ('FAIL', 'No fields to update') if !@fieldlist;
    10601060
    1061   push @vallist, $args{block};
     1061  push @vallist, $args{block}, $args{rdepth}, $args{vrf};
    10621062  my $sql = "UPDATE $updtable SET ";
    10631063  $sql .= join " = ?, ", @fieldlist;
    1064   $sql .= " = ? WHERE $keyfield = ?";
     1064  $sql .= " = ? WHERE $keyfield = ? AND rdepth = ? AND vrf = ?";
    10651065
    10661066  eval {
Note: See TracChangeset for help on using the changeset viewer.