continuing development of new discussion system
This commit is contained in:
parent
df6d6fe93d
commit
fa7331bbf0
3 changed files with 10 additions and 6 deletions
|
|
@ -645,7 +645,7 @@ sub setRow {
|
|||
push(@pairs, $key.'='.quote($data->{$key}));
|
||||
}
|
||||
}
|
||||
WebGUI::SQL->write("update $table set ".join(", ", @pairs), $dbh);
|
||||
WebGUI::SQL->write("update $table set ".join(", ", @pairs)." where ".$keyColumn."=".quote($data->{$keyColumn}), $dbh);
|
||||
return $data->{$keyColumn};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue