aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-23 18:18:01 -0700
committerFriendika <info@friendika.com>2011-05-23 18:18:01 -0700
commit19ccd658ebcf13a7cc208a3e460e44d152dda32f (patch)
treea6cfc22e4e40fe00ef5aac27023ccbfa8789958a /mod
parent78b2db3a9840f551c951bf0a58a54cce08133bcf (diff)
parentcde888f7f87449d4f5a281b8a23abcf3234ce9b9 (diff)
downloadvolse-hubzilla-19ccd658ebcf13a7cc208a3e460e44d152dda32f.tar.gz
volse-hubzilla-19ccd658ebcf13a7cc208a3e460e44d152dda32f.tar.bz2
volse-hubzilla-19ccd658ebcf13a7cc208a3e460e44d152dda32f.zip
Merge branch 'pull'
Diffstat (limited to 'mod')
-rw-r--r--mod/parse_url.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/parse_url.php b/mod/parse_url.php
index 30371e9f6..15a6aced0 100644
--- a/mod/parse_url.php
+++ b/mod/parse_url.php
@@ -2,7 +2,6 @@
require_once('library/HTML5/Parser.php');
-
function parse_url_content(&$a) {
logger('parse_url: ' . $_GET['url']);
@@ -25,9 +24,9 @@ function parse_url_content(&$a) {
killme();
}
- if($url)
+ if($url) {
$s = fetch_url($url);
- else {
+ } else {
echo '';
killme();
}
@@ -97,4 +96,4 @@ function parse_url_content(&$a) {
echo sprintf($template,$url,$title,$text);
killme();
-} \ No newline at end of file
+}