summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',