[Weberp-svn] SF.net SVN: weberp:[8535] trunk/includes/session.inc
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-02-19 22:26:46
|
Revision: 8535 http://weberp.svn.sourceforge.net/weberp/?rev=8535&view=rev Author: tim_schofield Date: 2012-02-19 22:26:40 +0000 (Sun, 19 Feb 2012) Log Message: ----------- Quoting corrections Modified Paths: -------------- trunk/includes/session.inc Modified: trunk/includes/session.inc =================================================================== --- trunk/includes/session.inc 2012-02-19 22:26:29 UTC (rev 8534) +++ trunk/includes/session.inc 2012-02-19 22:26:40 UTC (rev 8535) @@ -44,7 +44,7 @@ if (isset($_SESSION['DatabaseName'])){ foreach ($_POST as $key => $value) { - if (gettype($value) != "array") { + if (gettype($value) != 'array') { if(get_magic_quotes_gpc()) { $_POST['name'] = stripslashes($_POST['name']); } @@ -63,7 +63,7 @@ to limit possibility for SQL injection attacks and cross scripting attacks */ foreach ($_GET as $key => $value) { - if (gettype($value) != "array") { + if (gettype($value) != 'array') { $_GET[$key] = DB_escape_string($value); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |