diff options
author | Christian Weber | 2009-04-04 21:19:23 +0000 |
---|---|---|
committer | Christian Weber | 2009-04-04 21:19:23 +0000 |
commit | a6dda3c3c369eb349040b2a7eaaa2b55fdb8a931 (patch) | |
tree | 73538630f6d21c977b58aabf1a374c2edc7262f9 | |
parent | fb5213cdc042076d04a7725d2095c99cd06315c7 (diff) | |
download | itools-a6dda3c3c369eb349040b2a7eaaa2b55fdb8a931.tar.gz itools-a6dda3c3c369eb349040b2a7eaaa2b55fdb8a931.tar.bz2 itools-a6dda3c3c369eb349040b2a7eaaa2b55fdb8a931.zip |
allow calling constructor without p
-rw-r--r-- | it_user.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_user.class b/it_user.class index 4b0ebc6..85c44bd 100644 --- a/it_user.class +++ b/it_user.class @@ -61,7 +61,7 @@ class it_user extends it_dbi * Constructor * @param $p array(key => value) of configuration data */ -function it_user($p) +function it_user($p = array()) { $this->p = $p + array( 'uid_field' => 'ID', |