From d0d66a94138d61dcd700380f584a85a483c184fe Mon Sep 17 00:00:00 2001 From: Christian Weber Date: Wed, 19 Sep 2007 16:39:14 +0000 Subject: new it_dbi always adds defaults from singleton --- it_user.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_user.class') diff --git a/it_user.class b/it_user.class index 30033e9..4bafc85 100644 --- a/it_user.class +++ b/it_user.class @@ -73,7 +73,7 @@ function it_user($p) ); # Default to uid being primary key, may change later - $this->it_dbi(array('table' => $this->p['table'], 'keyfield' => $this->p['uid_field']) + (array)$GLOBALS['it_dbi']->_defaults); + $this->it_dbi(array('table' => $this->p['table'], 'keyfield' => $this->p['uid_field'])); $this->session = new it_session; $this->status = _IT_USER_STATUS_INVALID; -- cgit v1.2.3