Skip to content

Commit

Permalink
fix get_magic_quotes_gpc
Browse files Browse the repository at this point in the history
  • Loading branch information
vendethiel committed Jul 25, 2018
1 parent 198f76e commit 99b18d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions fixes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix get_magic_quotes_gpc
2 changes: 1 addition & 1 deletion luckymod/_install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function guess_lang()
}

// Slash data if it isn't slashed
if (!get_magic_quotes_gpc())
if (true) // !get_magic_quotes_gpc())
{
if (is_array($HTTP_GET_VARS))
{
Expand Down
2 changes: 1 addition & 1 deletion luckymod/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
// this is a security precaution to prevent someone
// trying to break out of a SQL statement.
//
if( !get_magic_quotes_gpc() )
if( true ) //!get_magic_quotes_gpc() )
{
if( is_array($HTTP_GET_VARS) )
{
Expand Down

0 comments on commit 99b18d4

Please sign in to comment.