[Cs-content-commits] SF.net SVN: cs-content:[494] trunk/1.0/cs_globalFunctions.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
|
From: <cra...@us...> - 2011-03-26 00:58:28
|
Revision: 494
http://cs-content.svn.sourceforge.net/cs-content/?rev=494&view=rev
Author: crazedsanity
Date: 2011-03-26 00:58:22 +0000 (Sat, 26 Mar 2011)
Log Message:
-----------
Make "text" a synonym for "varchar" in cleanString().
Modified Paths:
--------------
trunk/1.0/cs_globalFunctions.class.php
Modified: trunk/1.0/cs_globalFunctions.class.php
===================================================================
--- trunk/1.0/cs_globalFunctions.class.php 2011-02-04 21:21:14 UTC (rev 493)
+++ trunk/1.0/cs_globalFunctions.class.php 2011-03-26 00:58:22 UTC (rev 494)
@@ -550,6 +550,7 @@
$cleanThis = $this->interpret_bool($cleanThis, array('f', 't'));
break;
+ case "text":
case "varchar":
$cleanThis=$this->cleanString($cleanThis,"query");
$cleanThis="'" . $cleanThis . "'";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|