]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Setting a default value to avoid notices.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 30 Jan 2010 23:07:06 +0000 (23:07 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 30 Jan 2010 23:07:06 +0000 (23:07 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3863 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/input.php

index 019e4faa081c77956965103058e6d87a7bc43fba..7c5fd58c41085a090955bd356e160a850703d9d6 100644 (file)
@@ -124,6 +124,7 @@ function parse_urls($text) {
                '$matches',
                '
                        $url = $matches[1];
+                       $period = \'\';
                        if (substr($url, -1, 1) == \'.\') {
                                $period = \'.\';
                                $url = trim($url, \'.\');