- fehlende stellen angepasst

- dropcolumn
This commit is contained in:
ma0048
2025-02-04 11:30:11 +01:00
parent b5500e2d11
commit b1c046ae04
4 changed files with 16 additions and 5 deletions
+2 -1
View File
@@ -65,7 +65,8 @@ class Statusgrund extends Auth_Controller
public function editGrund($statusgrund_id, $update = null)
{
$statusGrund = $this->StatusgrundModel->load($statusgrund_id);
$this->StatusgrundModel->addJoin('public.tbl_status_grund_status', 'statusgrund_id');
$statusGrund = $this->StatusgrundModel->load(array('public.tbl_status_grund.statusgrund_id' => $statusgrund_id));
if ($statusGrund->error)
{
show_error(getError($statusGrund));