summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-06-19 17:06:54 +0000
committerthomascube <thomas@roundcube.net>2009-06-19 17:06:54 +0000
commita176965032edb15936a80c5e6c185abcf673c4a9 (patch)
tree31ce34f260a19041c4e5950c66c0eddd6300e39e /program
parent3d4ba6280810ce4267809177bdc4a3e462b32e5e (diff)
Typo
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_string_replacer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_string_replacer.php b/program/include/rcube_string_replacer.php
index 8539ee55b..2625fdfb9 100644
--- a/program/include/rcube_string_replacer.php
+++ b/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)));
}