From 23bf40e9054d5a3c466f04455d355c9622904bf7 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 30 Jan 2010 23:07:06 +0000 Subject: Setting a default value to avoid notices. git-svn-id: http://code.elgg.org/elgg/trunk@3863 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/input.php | 1 + 1 file changed, 1 insertion(+) (limited to 'engine/lib/input.php') 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, \'.\'); -- cgit v1.2.3