change primary key to string instead of array

because it is not a composite key and the load method gets confused otherwise
This commit is contained in:
Werner Masik
2022-07-11 17:26:54 +02:00
parent 17322283f5
commit 8c8623ce4f
+1 -1
View File
@@ -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;
}