aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-30 21:01:09 -0800
committerfriendica <info@friendica.com>2014-01-30 21:01:09 -0800
commitdeaf93db71c451b59f0a64ae7d16828d06e7c620 (patch)
tree794dd1b834027b5e6e6ac5ed2e2db5f734b8f7a2
parenta1d40431f22e82b8e018dce65ced0801c40b20ff (diff)
downloadvolse-hubzilla-deaf93db71c451b59f0a64ae7d16828d06e7c620.tar.gz
volse-hubzilla-deaf93db71c451b59f0a64ae7d16828d06e7c620.tar.bz2
volse-hubzilla-deaf93db71c451b59f0a64ae7d16828d06e7c620.zip
missing string delimiters (quotes)
-rw-r--r--mod/admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 76decae09..01296bd29 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -484,9 +484,9 @@ function admin_page_hubloc_post(&$a){
$m = zot_build_packet($a->get_channel(),'ping');
$r = zot_zot($hublocurl,$m);
//handle results and set the hubloc flags in db to make results visible
- $r2 = $r[body];
- $r3 = $r2[success];
- if ( $r3[success] == True ){
+ $r2 = $r['body'];
+ $r3 = $r2['success'];
+ if ( $r3['success'] == True ){
//set HUBLOC_OFFLINE to 0
logger(' success = true ',LOGGER_DEBUG);
} else {