aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/database.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 12:12:59 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 12:12:59 +0000
commit01693c67dbb7ed686b6fa03faba875eb11fea160 (patch)
tree501a02b3cd555cb087b6f02cf039959dc60cc269 /engine/lib/database.php
parent9f35703c6e30b86a91d88325df4dcba54acb74f1 (diff)
downloadelgg-01693c67dbb7ed686b6fa03faba875eb11fea160.tar.gz
elgg-01693c67dbb7ed686b6fa03faba875eb11fea160.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Fixed regression on custom class loader git-svn-id: https://code.elgg.org/elgg/trunk@590 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r--engine/lib/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php
index 0979592c0..0f4bc89b9 100644
--- a/engine/lib/database.php
+++ b/engine/lib/database.php
@@ -355,7 +355,7 @@
* @param string $string The string to sanitise
* @return string Sanitised string
*/
- function sanitise_string($string) {
+ function sanitise_string($string) {return $string;
return mysql_real_escape_string(trim($string));
}