From 8c8623ce4fdbe1d2c1970482d05d11b3f1f07c32 Mon Sep 17 00:00:00 2001 From: Werner Masik Date: Mon, 11 Jul 2022 17:26:54 +0200 Subject: [PATCH] change primary key to string instead of array because it is not a composite key and the load method gets confused otherwise --- application/models/person/Benutzer_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/person/Benutzer_model.php b/application/models/person/Benutzer_model.php index eff1329a6..91bf77b00 100644 --- a/application/models/person/Benutzer_model.php +++ b/application/models/person/Benutzer_model.php @@ -9,7 +9,7 @@ class Benutzer_model extends DB_Model { parent::__construct(); $this->dbTable = 'public.tbl_benutzer'; - $this->pk = array('uid'); + $this->pk = 'uid'; $this->hasSequence = false; }