Fixed Bug 1060: Error inserting second entry from the same input page.
Fixed bug #865.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user