missing string delimiters (quotes)
This commit is contained in:
parent
a1d40431f2
commit
deaf93db71
@ -484,9 +484,9 @@ function admin_page_hubloc_post(&$a){
|
|||||||
$m = zot_build_packet($a->get_channel(),'ping');
|
$m = zot_build_packet($a->get_channel(),'ping');
|
||||||
$r = zot_zot($hublocurl,$m);
|
$r = zot_zot($hublocurl,$m);
|
||||||
//handle results and set the hubloc flags in db to make results visible
|
//handle results and set the hubloc flags in db to make results visible
|
||||||
$r2 = $r[body];
|
$r2 = $r['body'];
|
||||||
$r3 = $r2[success];
|
$r3 = $r2['success'];
|
||||||
if ( $r3[success] == True ){
|
if ( $r3['success'] == True ){
|
||||||
//set HUBLOC_OFFLINE to 0
|
//set HUBLOC_OFFLINE to 0
|
||||||
logger(' success = true ',LOGGER_DEBUG);
|
logger(' success = true ',LOGGER_DEBUG);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user