diff options
author | alecpl <alec@alec.pl> | 2010-09-08 09:40:39 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-09-08 09:40:39 +0000 |
commit | 2aa2b332f6e216ceeabc36ef6b942c40d91bda5a (patch) | |
tree | 08a21f5cb3d9f7bc706fa34a73aba37baff9a03c /program/include/main.inc | |
parent | ec581c106e51a46f4536caec397e2b34821db5de (diff) |
- Small performance improvements
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index fa5534f10..04992fd89 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -700,7 +700,7 @@ function asciiwords($str, $css_id = false, $replace_with = '') */ function strip_quotes($str) { - return preg_replace('/[\'"]/', '', $str); + return str_replace(array("'", '"'), '', $str); } |