diff --git a/setup/inc/class.setup.php b/setup/inc/class.setup.php index c6bf7b6751c9e80236d3cbfe143a37c6d52cf6c5..21b4f33ee6b51a23a1459575e164e0fcfe673c1f 100644 --- a/setup/inc/class.setup.php +++ b/setup/inc/class.setup.php @@ -366,9 +366,10 @@ class Installer extends SetupWizard { if(!($msg=file_get_contents(INC_DIR.'msg/installed.txt'))) $msg='Congratulations and Thank you for choosing osTicket!'; - $sql='INSERT INTO '.PREFIX.'ticket_message SET created=NOW(),source="Web" ' + $sql='INSERT INTO '.PREFIX.'ticket_thread SET created=NOW(),source="Web" ' + .', poster="System"' .', ticket_id='.db_input($tid) - .', message='.db_input($msg); + .', body='.db_input($msg); @mysql_query($sql); } //TODO: create another personalized ticket and assign to admin??