Project

General

Profile

« Previous | Next » 

Revision 40

Added by stefan about 19 years ago

Change addslashes,stripslashes to (wb class) method calls add_slashes,strip_slashes

View differences:

add.php
1 1
<?php
2 2

  
3
// $Id: add.php,v 1.12 2005/04/08 07:36:58 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
32 32
require_once(WB_PATH.'/framework/functions.php');
33 33

  
34 34
// Get values
35
$title = addslashes($admin->get_post('title'));
35
$title = $admin->add_slashes($admin->get_post('title'));
36 36
$module = $admin->get_post('type');
37 37
$parent = $admin->get_post('parent');
38 38
$visibility = $admin->get_post('visibility');

Also available in: Unified diff