slight improvement in a couple of queries

This commit is contained in:
friendica 2012-05-08 22:46:40 -07:00
parent 89d3ce7b5d
commit 70a07086ad
3 changed files with 20 additions and 8 deletions

View file

@ -1524,3 +1524,9 @@ function fix_mce_lf($s) {
$s = str_replace("\n\n","\n",$s);
return $s;
}
function protect_sprintf($s) {
return(str_replace('%','%%',$s));
}