projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed user model issue with SQL binding
[speedfreak]
/
Server
/
application
/
helpers
/
apiler.php
diff --git
a/Server/application/helpers/apiler.php
b/Server/application/helpers/apiler.php
index
d142785
..
9d7b780
100644
(file)
--- a/
Server/application/helpers/apiler.php
+++ b/
Server/application/helpers/apiler.php
@@
-66,6
+66,11
@@
class apiler_Core {
die;
}
+ // escape string for db
+ public static function e($string){
+ return mysql_escape_string($string);
+ }
+
/**
* Verify user's credentials
*