diff --git a/application/controllers/Simplefle.php b/application/controllers/Simplefle.php index c51f3d068..a12284aaa 100644 --- a/application/controllers/Simplefle.php +++ b/application/controllers/Simplefle.php @@ -96,10 +96,10 @@ class SimpleFLE extends CI_Controller { } $this->staticmap_model->remove_static_map_image($station_id); - if (empty($result)) { + if (empty($bulk_result)) { echo "success"; } else { - echo json_encode($result); + echo json_encode($bulk_result); } }