Skip to content
Snippets Groups Projects
Commit 82eeb90c authored by Jared Hancock's avatar Jared Hancock
Browse files

Tell the installer about the new ticket_thread table

parent abd61039
No related branches found
No related tags found
No related merge requests found
...@@ -366,9 +366,10 @@ class Installer extends SetupWizard { ...@@ -366,9 +366,10 @@ class Installer extends SetupWizard {
if(!($msg=file_get_contents(INC_DIR.'msg/installed.txt'))) if(!($msg=file_get_contents(INC_DIR.'msg/installed.txt')))
$msg='Congratulations and Thank you for choosing osTicket!'; $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) .', ticket_id='.db_input($tid)
.', message='.db_input($msg); .', body='.db_input($msg);
@mysql_query($sql); @mysql_query($sql);
} }
//TODO: create another personalized ticket and assign to admin?? //TODO: create another personalized ticket and assign to admin??
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment