summaryrefslogtreecommitdiff
path: root/it_user.class
diff options
context:
space:
mode:
authorChristian Weber2007-09-19 15:55:25 +0000
committerChristian Weber2007-09-19 15:55:25 +0000
commit691625aa5987815b2cc9ebf63ddbb56ef0c32448 (patch)
tree7e5b6988edd9e94d63da0e9f3341d2803a625f64 /it_user.class
parente8e1b2d61001516a56e68a3953f60239ff808f1a (diff)
downloaditools-691625aa5987815b2cc9ebf63ddbb56ef0c32448.tar.gz
itools-691625aa5987815b2cc9ebf63ddbb56ef0c32448.tar.bz2
itools-691625aa5987815b2cc9ebf63ddbb56ef0c32448.zip
use it_dbi singleton's defaults when creating our dbi instance
Diffstat (limited to 'it_user.class')
-rw-r--r--it_user.class2
1 files changed, 1 insertions, 1 deletions
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;