From a176965032edb15936a80c5e6c185abcf673c4a9 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 19 Jun 2009 13:06:54 -0400
Subject: [PATCH] Typo
---
program/include/rcube_string_replacer.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_string_replacer.php b/program/include/rcube_string_replacer.php
index 8539ee5..2625fdf 100644
--- a/program/include/rcube_string_replacer.php
+++ b/program/include/rcube_string_replacer.php
@@ -74,7 +74,7 @@
$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)));
}
--
Gitblit v1.9.1