Commit 2455ca3e by Scott Committed by GitHub

Merge pull request #442 from q2apro/patch-5

Fix session_start after output started
parents 2fcf4966 81f0b9c8
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
require_once QA_INCLUDE_DIR.'app/format.php'; 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 // Collect the information we need from the database
$intitle = qa_post_text('title'); $intitle = qa_post_text('title');
...@@ -102,4 +106,4 @@ ...@@ -102,4 +106,4 @@
/* /*
Omit PHP closing tag to help avoid accidental output Omit PHP closing tag to help avoid accidental output
*/ */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment