Fixed Bug 1060: Error inserting second entry from the same input page.

Fixed bug #865.
This commit is contained in:
rkingdon
2004-03-12 15:25:13 +00:00
parent bded7f70b5
commit 2f39268b3d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -129,6 +129,7 @@
foreach ($conversations as $conversation) {
$textarea_name = "reply$conversation->id";
if (!empty($_POST[$textarea_name])) {
unset($item);
$item->dialogueid = $dialogue->id;
$item->conversationid = $conversation->id;
$item->userid = $USER->id;
+1 -1
View File
@@ -1047,7 +1047,7 @@ function dialogue_print_tabbed_heading($tabs) {
}
// print_simple_box_start("center", "$table->width", "#ffffff", 0);
echo "<table width=\"$tabs-width\" border=\"0\" valign=\"top\" align=\"center\" ";
echo "<table width=\"$tabs->width\" border=\"0\" valign=\"top\" align=\"center\" ";
echo " cellpadding=\"$tabs->cellpadding\" cellspacing=\"0\" class=\"generaltable\">\n";
if (!empty($tabs->names)) {