diff options
author | Michael Meer <michael@meer.name> | 2014-01-23 12:09:35 +0100 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2014-01-23 12:09:35 +0100 |
commit | 524fff3a17fec184c87e855d09bf6a60f68e4e88 (patch) | |
tree | 68928976c3cf19fcc45be9cdf302e7983ab96f77 /mod | |
parent | aec78b32840e09b4a212ca075f97f9fa8d03d90e (diff) | |
download | volse-hubzilla-524fff3a17fec184c87e855d09bf6a60f68e4e88.tar.gz volse-hubzilla-524fff3a17fec184c87e855d09bf6a60f68e4e88.tar.bz2 volse-hubzilla-524fff3a17fec184c87e855d09bf6a60f68e4e88.zip |
preperation for ping, need training in SQL :(
Diffstat (limited to 'mod')
-rw-r--r-- | mod/admin.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php index 57e285781..33b42d264 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -462,7 +462,12 @@ function admin_page_hubloc_post(&$a){ logger('POST input: '. print_r($_POST,true), LOGGER_DEBUG); if ( $_POST['hublocid']) { - logger('hublocid is not empty: ' . $_POST['hublocid'], LOGGER_DEBUG); + $hublocid = $_POST['hublocid']; + logger('hublocid is not empty: ' . $hublocid , LOGGER_DEBUG); + $hublocurl = q("SELECT hubloc_url FROM hubloc WHERE hubloc_id = %d ", + intval($hublocid) + ); + logger('hubloc_url : ' . print_r($hublocurl, true) , LOGGER_DEBUG); } //if ( $_POST'' == "check" ) { |