aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-30 23:07:06 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-30 23:07:06 +0000
commit23bf40e9054d5a3c466f04455d355c9622904bf7 (patch)
tree9ed102f4d1b763417f2643fe6d3095c782ef6832 /engine
parent701567f5e5e0c0bfb76744e535b55f863323859a (diff)
downloadelgg-23bf40e9054d5a3c466f04455d355c9622904bf7.tar.gz
elgg-23bf40e9054d5a3c466f04455d355c9622904bf7.tar.bz2
Setting a default value to avoid notices.
git-svn-id: http://code.elgg.org/elgg/trunk@3863 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/input.php1
1 files changed, 1 insertions, 0 deletions
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, \'.\');