From baa5b17ddfedcc07eaf6f7a40eb8755a7002e9c0 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 16 Apr 2008 07:33:19 +0000 Subject: Make it_dbi compatible with old syntax again --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3