summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 50f08b9..1303323 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -423,8 +423,8 @@ function clear($pp = true)
{
foreach ((array)$this->_fields + (array)$this->_localizedfields as $field => $dummy)
unset($this->$field);
- unset($this->_data);
- unset($this->_key);
+ unset($this->_key, $this->_data);
+
$pp && $this->_read_post_process();
}