Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
0dc3209c
Commit
0dc3209c
authored
Jan 21, 2007
by
Nigel McNie
Committed by
Nigel McNie
Jan 21, 2007
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/blog/post.php
View file @
0dc3209c
...
...
@@ -40,7 +40,7 @@ safe_require('artefact', 'blog');
*/
$createid
=
$SESSION
->
get
(
'createid'
);
if
(
empty
(
$createid
))
{
$createid
=
0
;
$createid
=
1
;
}
$SESSION
->
set
(
'createid'
,
$createid
+
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment