Permalink
Browse files

Merge pull request #442 from q2apro/patch-5

Fix session_start after output started
2 parents 2fcf496 + 81f0b9c commit 2455ca3e4d862b1746cb662c1ec772c4611b2829 @svivian svivian committed on GitHub Nov 30, 2016
Showing with 5 additions and 1 deletion.
  1. +5 −1 qa-include/ajax/asktitle.php
@@ -26,6 +26,10 @@
require_once QA_INCLUDE_DIR.'app/format.php';
+// Make sure session is created
+
+ $userid = qa_get_logged_in_userid();
+
// Collect the information we need from the database
$intitle = qa_post_text('title');
@@ -102,4 +106,4 @@
/*
Omit PHP closing tag to help avoid accidental output
-*/
+*/

0 comments on commit 2455ca3

Please sign in to comment.