Skip to content

Commit 949290d

Browse files
authored
Return named-object instead of string
1 parent 367654e commit 949290d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/controllers/Visitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public function exportmap() {
415415
$this->load->model('visitor_model');
416416
$result = $this->visitor_model->getlastqsodate($slug)->row();
417417
header('Content-Type: application/json');
418-
echo json_encode($result->lastqso);
418+
echo json_encode($result);
419419
return;
420420
}
421421

0 commit comments

Comments
 (0)