Fixed table info when linking locations to container

This commit is contained in:
Andreas Kristiansen
2024-03-19 14:34:23 +01:00
parent 6d453b9055
commit 873a0391e9
3 changed files with 14 additions and 3 deletions

View File

@@ -415,6 +415,7 @@ class Stationsetup extends CI_Controller {
// If no link exists, create
$this->stationsetup_model->create_logbook_location_link($containerid, $locationid);
$data['success']=1;
$data['locationdata'] = $this->stationsetup_model->locationInfo($locationid)->result();
} else {
$data['success']=0;
$data['flashdata']='Error';