Skip to content

Commit

Permalink
Make labels.php independent from magic_quotes setting
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2534 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Mar 10, 2007
1 parent c784224 commit 5b1e4f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/labels.php
Expand Up @@ -37,6 +37,9 @@
// ToDo: Prevent users from creating/savin labels with the same code in the same label set
include_once("login_check.php");

if (get_magic_quotes_gpc())
$_POST = array_map('stripslashes', $_POST);

if($_SESSION['USER_RIGHT_MANAGE_LABEL'] == 1)
{

Expand Down

0 comments on commit 5b1e4f2

Please sign in to comment.