diff options
author | Michael Vogel <icarus@dabo.de> | 2012-04-15 16:49:54 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-04-15 16:49:54 +0200 |
commit | a147d6113c081694d4209002fa5e57106d4c6f41 (patch) | |
tree | de6f940efa0439ab3d54ff7d280e221b7b59d348 /mod | |
parent | e825a73f1de308b6ae0ae3cc5549263704a14594 (diff) | |
parent | f994f9abc6092106659a29f5ee1be0706825c203 (diff) | |
download | volse-hubzilla-a147d6113c081694d4209002fa5e57106d4c6f41.tar.gz volse-hubzilla-a147d6113c081694d4209002fa5e57106d4c6f41.tar.bz2 volse-hubzilla-a147d6113c081694d4209002fa5e57106d4c6f41.zip |
Merge commit 'upstream/master'
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 2 | ||||
-rw-r--r-- | mod/profile.php | 1 | ||||
-rw-r--r-- | mod/randprof.php | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php index 7f0ca3fc3..642a6758a 100644 --- a/mod/item.php +++ b/mod/item.php @@ -759,7 +759,7 @@ function item_post(&$a) { } else { logger('mod_item: unable to retrieve post that was just stored.'); - notify( t('System error. Post not saved.')); + notice( t('System error. Post not saved.') . EOL); goaway($a->get_baseurl() . "/" . $return_path ); // NOTREACHED } diff --git a/mod/profile.php b/mod/profile.php index 51f944412..de1e27248 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -17,6 +17,7 @@ function profile_init(&$a) { goaway($a->get_baseurl() . '/profile/' . $r[0]['nickname']); } else { + logger('profile error: mod_profile ' . $a->query_string, LOGGER_DEBUG); notice( t('Requested profile is not available.') . EOL ); $a->error = 404; return; diff --git a/mod/randprof.php b/mod/randprof.php index 53d7425e9..6713a81d9 100644 --- a/mod/randprof.php +++ b/mod/randprof.php @@ -5,6 +5,6 @@ function randprof_init(&$a) { require_once('include/Contact.php'); $x = random_profile(); if($x) - goaway($x); + goaway(zrl($x)); goaway($a->get_baseurl() . '/profile'); } |