diff options
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index 76540baee..24a8a1889 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1039,4 +1039,13 @@ function subscriber_addresslist($id){ return $emails; } +/** + * Removes quoting backslashes + * + * @author Andreas Gohr <andi@splitbrain.org> + */ +function unslash($string,$char="'"){ + return str_replace('\\'.$char,$char,$string); +} + //Setup VIM: ex: et ts=2 enc=utf-8 : |