summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class2
1 files changed, 2 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 4c4b291..be5f19c 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -150,6 +150,8 @@ 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);
\$p += " . var_export($p, true) . ";
\$this->it_dbi(\$p, \$query);
}