summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weber2009-04-04 21:19:23 +0000
committerChristian Weber2009-04-04 21:19:23 +0000
commita6dda3c3c369eb349040b2a7eaaa2b55fdb8a931 (patch)
tree73538630f6d21c977b58aabf1a374c2edc7262f9
parentfb5213cdc042076d04a7725d2095c99cd06315c7 (diff)
downloaditools-a6dda3c3c369eb349040b2a7eaaa2b55fdb8a931.tar.gz
itools-a6dda3c3c369eb349040b2a7eaaa2b55fdb8a931.tar.bz2
itools-a6dda3c3c369eb349040b2a7eaaa2b55fdb8a931.zip
allow calling constructor without p
-rw-r--r--it_user.class2
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',