Permalink
Browse files

Merge pull request #1713 from malkowitch/patch-2

Update libraries/joomla/table/table.php
  • Loading branch information...
2 parents 85a8692 + 18b6c24 commit caeab1152e4b6b7beaabe7b658dd6de8f30ddbc0 @dongilbert dongilbert committed Mar 18, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 libraries/joomla/table/table.php
View
5 libraries/joomla/table/table.php
@@ -502,7 +502,7 @@ public function getRules()
/**
* Method to reset class properties to the defaults set in the class
* definition. It will ignore the primary key as well as any private class
- * properties.
+ * properties (except $_errors).
*
* @return void
*
@@ -520,6 +520,9 @@ public function reset()
$this->$k = $v->Default;
}
}
+
+ // Reset table errors
+ $this->_errors = array();
}
/**

0 comments on commit caeab11

Please sign in to comment.