summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbi.class b/dbi.class
index 84f780d..e905c01 100644
--- a/dbi.class
+++ b/dbi.class
@@ -45,7 +45,7 @@ class it_dbi
* @param $config array(key => value) of configuration data
* @param $query Optional initial query to run
*/
-function it_dbi($config, $query = null)
+function it_dbi($config = array(), $query = null)
{
# Shortcut: String config means use this table with default values
if (!is_array($config))