diff options
author | Urban Müller | 2007-07-18 14:02:06 +0000 |
---|---|---|
committer | Urban Müller | 2007-07-18 14:02:06 +0000 |
commit | 8dd4fbbc3f1488826f5c306f4bbd19b0fdd48cbb (patch) | |
tree | 3aec298b0e650e3306ca2cf0a7c89a795a23e89f /dbi.class | |
parent | 8f61176da8e3f215cec70b3320c956d3e3ace73f (diff) | |
download | itools-8dd4fbbc3f1488826f5c306f4bbd19b0fdd48cbb.tar.gz itools-8dd4fbbc3f1488826f5c306f4bbd19b0fdd48cbb.tar.bz2 itools-8dd4fbbc3f1488826f5c306f4bbd19b0fdd48cbb.zip |
config param optional
Diffstat (limited to 'dbi.class')
-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)) |