diff options
-rw-r--r-- | dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |