aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/admin.php7
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" ) {