From 691625aa5987815b2cc9ebf63ddbb56ef0c32448 Mon Sep 17 00:00:00 2001 From: Christian Weber Date: Wed, 19 Sep 2007 15:55:25 +0000 Subject: use it_dbi singleton's defaults when creating our dbi instance --- 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 4bafc85..30033e9 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'])); + $this->it_dbi(array('table' => $this->p['table'], 'keyfield' => $this->p['uid_field']) + (array)$GLOBALS['it_dbi']->_defaults); $this->session = new it_session; $this->status = _IT_USER_STATUS_INVALID; -- cgit v1.2.3