diff options
author | friendica <info@friendica.com> | 2013-01-20 15:36:04 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-20 15:36:04 -0800 |
commit | 127b605f32f8b01900d300cd869c3848e6bebb9b (patch) | |
tree | d7bd6c5360950bfbe96d28f94161e082573aae61 /include/html2plain.php | |
parent | 45be26dd81a1679853763bc79c387bf0c6fdfe57 (diff) | |
download | volse-hubzilla-127b605f32f8b01900d300cd869c3848e6bebb9b.tar.gz volse-hubzilla-127b605f32f8b01900d300cd869c3848e6bebb9b.tar.bz2 volse-hubzilla-127b605f32f8b01900d300cd869c3848e6bebb9b.zip |
preserve event item[uri] if present
Diffstat (limited to 'include/html2plain.php')
-rw-r--r-- | include/html2plain.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/html2plain.php b/include/html2plain.php index e5615f8ba..b8c9c440d 100644 --- a/include/html2plain.php +++ b/include/html2plain.php @@ -205,7 +205,7 @@ function html2plain($html, $wraplength = 75, $compact = false) if (!$compact) { $counter = 1; foreach ($urls as $id=>$url) - if (strpos($message, $url) == false) + if ($url && strpos($message, $url) === false) $message .= "\n".$url." "; //$message .= "\n[".($counter++)."] ".$url; } |