@@ -35,7 +35,7 @@ class refill_successfulControl extends SystemControl
$url = BASE_SITE_URL . '/plot/paths?time_stamp='.$_GET['timestamp'];
Log::record("successful get where url : {$url}", Log::DEBUG);
$data = http_request($url);
- if(empty($conds)) {
+ if(empty($data)) {
echo(json_encode(''));
exit;
}