summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_active_record.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/drivers/DB_active_record.php')
-rw-r--r--system/drivers/DB_active_record.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/drivers/DB_active_record.php b/system/drivers/DB_active_record.php
index 373c0f626..f1995c807 100644
--- a/system/drivers/DB_active_record.php
+++ b/system/drivers/DB_active_record.php
@@ -663,7 +663,7 @@ class CI_DB_active_record extends CI_DB_driver {
if (count($this->ar_where) == 0)
{
- if ($this->debug)
+ if ($this->db_debug)
{
return $this->display_error('db_del_must_use_where');
}