mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:50:12 +00:00
slight improvement in a couple of queries
This commit is contained in:
parent
89d3ce7b5d
commit
70a07086ad
3 changed files with 20 additions and 8 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue