summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_string_replacer.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-19 17:06:54 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-19 17:06:54 +0000
commit63b2a948b41808302f6ebd97119c81ea1e27641d (patch)
tree0fcd87071be045e63ce38f938a5c1dc155217859 /roundcubemail/program/include/rcube_string_replacer.php
parent66c3325e00b7a8c2439ed39c79f236c77b6bd12f (diff)
Typo
git-svn-id: https://svn.roundcube.net/trunk@2659 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_string_replacer.php')
-rw-r--r--roundcubemail/program/include/rcube_string_replacer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_string_replacer.php b/roundcubemail/program/include/rcube_string_replacer.php
index 8539ee55b..2625fdfb9 100644
--- a/roundcubemail/program/include/rcube_string_replacer.php
+++ b/roundcubemail/program/include/rcube_string_replacer.php
@@ -74,7 +74,7 @@ class rcube_string_replacer
$i = -1;
$scheme = strtolower($matches[1]);
- if (preg_match('!^(http||ftp|file)s?://!', $scheme)) {
+ if (preg_match('!^(http|ftp|file)s?://!', $scheme)) {
$url = $matches[1] . $matches[2];
$i = $this->add(html::a(array('href' => $url, 'target' => '_blank'), Q($url)));
}