summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/database/DB_query_builder.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index 9c6cb7e45..ab04e4db2 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -1832,10 +1832,8 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
{
foreach ($table as $single_table)
{
- $this->delete($single_table, $where, $limit, FALSE);
+ $this->delete($single_table, $where, $limit, $reset_data);
}
-
- $this->_reset_write();
return;
}
else
@@ -2109,7 +2107,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
{
$this->qb_groupby[$i] = ($this->qb_groupby[$i]['escape'] === FALSE)
? $this->qb_groupby[$i]['field']
- : $this->protect_identifiers($qb_groupby[$i]['field']);
+ : $this->protect_identifiers($this->qb_groupby[$i]['field']);
}
$sql .= implode(', ', $this->qb_groupby);