Commit 0dc3209c authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fixed a nasty bug where uploading a file to a blog post the first time

caused it to hang and not be uploaded properly
parent 228132d9
......@@ -40,7 +40,7 @@ safe_require('artefact', 'blog');
$createid = $SESSION->get('createid');
if (empty($createid)) {
$createid = 0;
$createid = 1;
$SESSION->set('createid', $createid + 1);
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