diff options
author | Michael Meer <michael@meer.name> | 2014-01-23 13:58:14 +0100 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2014-01-23 13:58:14 +0100 |
commit | a2b07ed2814972507bf971a5ac6ed09c399e29e7 (patch) | |
tree | d58040079f6c8bc78e4334f5757ad62a21cd7dfe /mod/admin.php | |
parent | f870de31a489f1bafcbd92482cc4e0a2f10eed60 (diff) | |
download | volse-hubzilla-a2b07ed2814972507bf971a5ac6ed09c399e29e7.tar.gz volse-hubzilla-a2b07ed2814972507bf971a5ac6ed09c399e29e7.tar.bz2 volse-hubzilla-a2b07ed2814972507bf971a5ac6ed09c399e29e7.zip |
build url, deleted logger commands
Diffstat (limited to 'mod/admin.php')
-rw-r--r-- | mod/admin.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/admin.php b/mod/admin.php index 33b42d264..fbd342425 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -459,15 +459,14 @@ function admin_page_hubloc_post(&$a){ check_form_security_token_redirectOnErr('/admin/hubloc', 'admin_hubloc'); //prepare for ping - logger('POST input: '. print_r($_POST,true), LOGGER_DEBUG); if ( $_POST['hublocid']) { $hublocid = $_POST['hublocid']; - logger('hublocid is not empty: ' . $hublocid , LOGGER_DEBUG); - $hublocurl = q("SELECT hubloc_url FROM hubloc WHERE hubloc_id = %d ", + $arrhublocurl = q("SELECT hubloc_url FROM hubloc WHERE hubloc_id = %d ", intval($hublocid) ); - logger('hubloc_url : ' . print_r($hublocurl, true) , LOGGER_DEBUG); + $hublocurl = $arrhublocurl[0]['hubloc_url'] . '/post'; + logger('hubloc_url : ' . $hublocurl , LOGGER_DEBUG); } //if ( $_POST'' == "check" ) { |