From: brettp Date: Sat, 30 Jan 2010 23:07:06 +0000 (+0000) Subject: Setting a default value to avoid notices. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=23bf40e9054d5a3c466f04455d355c9622904bf7;p=lorea%2Felgg.git Setting a default value to avoid notices. git-svn-id: http://code.elgg.org/elgg/trunk@3863 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/engine/lib/input.php b/engine/lib/input.php index 019e4faa0..7c5fd58c4 100644 --- a/engine/lib/input.php +++ b/engine/lib/input.php @@ -124,6 +124,7 @@ function parse_urls($text) { '$matches', ' $url = $matches[1]; + $period = \'\'; if (substr($url, -1, 1) == \'.\') { $period = \'.\'; $url = trim($url, \'.\');