Skip to content

Commit

Permalink
rc5 - fix for \ bug
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.xp-dev.com/svn/Sweil_fs2/src@217 b49b0359-402e-0410-ad19-9fd90e479030
  • Loading branch information
Sweil authored and Sweil committed Apr 9, 2010
1 parent 4b71850 commit acb5a6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ default design noch bearbeiten


alix6:
magic quote support einstellen,
wenn magic, dann unquote in savesql
beim rausholen: neu: getsql oder killhtml, was getsql nutzt
getsql = wrapper falls in zukunft was ge�ndert werden muss


noscript.css (special wie import.css)
captcha-vorschau
Expand Down
2 changes: 1 addition & 1 deletion www/includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ function savesql ( $TEXT )
global $db;

if ( !is_numeric ( $TEXT ) ) {
$TEXT = mysql_real_escape_string ( unquote ( $TEXT ), $db );
$TEXT = mysql_real_escape_string ( addslashes ( unquote ( $TEXT ) ), $db );
}
return $TEXT;
}
Expand Down

0 comments on commit acb5a6e

Please sign in to comment.