Fixed copy bug.
This commit is contained in:
parent
497a951ec4
commit
a22aeaf155
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ sub duplicate {
|
||||||
while (%data = $sth->hash) {
|
while (%data = $sth->hash) {
|
||||||
$newId = getNextId("productSpecificationId");
|
$newId = getNextId("productSpecificationId");
|
||||||
WebGUI::SQL->write("insert into Product_specification values (".$w->get("wobjectId").", $newId, "
|
WebGUI::SQL->write("insert into Product_specification values (".$w->get("wobjectId").", $newId, "
|
||||||
.quote($data{name}).", ".quote($data{value}).", $data{sequenceNumber})");
|
.quote($data{name}).", ".quote($data{value}).", ".quote($data{units}).", $data{sequenceNumber})");
|
||||||
}
|
}
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
$sth = WebGUI::SQL->read("select * from Product_accessory where wobjectId=".$_[0]->get("wobjectId"));
|
$sth = WebGUI::SQL->read("select * from Product_accessory where wobjectId=".$_[0]->get("wobjectId"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue