Revision 222
Added by stefan almost 20 years ago
| trunk/wb/admin/pages/intro2.php | ||
|---|---|---|
| 27 | 27 |
if(!isset($_POST['content'])) {
|
| 28 | 28 |
header("Location: intro.php");
|
| 29 | 29 |
} else {
|
| 30 |
$content = htmlspecialchars($_POST['content']);
|
|
| 30 |
$content = $_POST['content'];
|
|
| 31 | 31 |
} |
| 32 | 32 |
|
| 33 | 33 |
// Create new admin object |
| ... | ... | |
| 35 | 35 |
require_once(WB_PATH.'/framework/class.admin.php'); |
| 36 | 36 |
$admin = new admin('Pages', 'pages_intro');
|
| 37 | 37 |
|
| 38 |
$content=htmlspecialchars($admin->strip_slashes($content)); |
|
| 39 |
|
|
| 38 | 40 |
// Include the WB functions file |
| 39 | 41 |
require_once(WB_PATH.'/framework/functions.php'); |
| 40 | 42 |
|
Also available in: Unified diff
Fixed bug #71 - added $admin->strip_slashes() to intro2.php