diff options
author | Christian Schneider | 2008-04-16 07:33:19 +0000 |
---|---|---|
committer | Christian Schneider | 2008-04-16 07:33:19 +0000 |
commit | baa5b17ddfedcc07eaf6f7a40eb8755a7002e9c0 (patch) | |
tree | 4d42680db2a84ff004d6082eb1e0495b4848d63f /it_dbi.class | |
parent | 2d9a5253c9ab68e39983644b94b14fb669cf146f (diff) | |
download | itools-baa5b17ddfedcc07eaf6f7a40eb8755a7002e9c0.tar.gz itools-baa5b17ddfedcc07eaf6f7a40eb8755a7002e9c0.tar.bz2 itools-baa5b17ddfedcc07eaf6f7a40eb8755a7002e9c0.zip |
Make it_dbi compatible with old syntax again
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index 3fa5508..3bc82c9 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -151,7 +151,7 @@ function createclass($p) function $classname(\$query = null, \$p = array()) { if (\$p) - it::error('title' => 'Deprecated use of \$p parameter for $classname', 'body' => var_export(\$p, true), 'backtraceskip' => 1); + it::error(array('title' => 'Deprecated use of \$p parameter for $classname', 'body' => var_export(\$p, true), 'backtraceskip' => 1)); \$p += " . var_export($p, true) . "; \$this->it_dbi(\$p, \$query); } |