Skip to content

Commit

Permalink
Strip slashes from text in maintenance message
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Apr 23, 2005
1 parent d8d8ab2 commit 15ba1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/maintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
redirect('index.php', get_string('sitemaintenanceoff','admin'));
} else {
$file = fopen($filename, 'w');
fwrite($file, $form->text);
fwrite($file, stripslashes($form->text));
fclose($file);
redirect('index.php', get_string('sitemaintenanceon', 'admin'));
}
Expand Down

0 comments on commit 15ba1b0

Please sign in to comment.