Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
94355dd8
Commit
94355dd8
authored
Apr 01, 2006
by
Gerhard Killesreiter
Browse files
#56676
, unset($_SESSION['messages']);, patch by chx
parent
fbfde433
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
94355dd8
...
...
@@ -637,8 +637,9 @@ function drupal_set_message($message = NULL, $type = 'status') {
* As a side effect, this function clears the message queue.
*/
function
drupal_get_messages
()
{
$messages
=
drupal_set_message
();
unset
(
$_SESSION
[
'messages'
]);
if
(
$messages
=
drupal_set_message
())
{
unset
(
$_SESSION
[
'messages'
]);
}
return
$messages
;
}
...
...
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