summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
authorChristian Schneider2008-04-16 07:33:19 +0000
committerChristian Schneider2008-04-16 07:33:19 +0000
commitbaa5b17ddfedcc07eaf6f7a40eb8755a7002e9c0 (patch)
tree4d42680db2a84ff004d6082eb1e0495b4848d63f /it_dbi.class
parent2d9a5253c9ab68e39983644b94b14fb669cf146f (diff)
downloaditools-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.class2
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);
}