fixed not working delete

This commit is contained in:
Ralf Becker 2006-08-12 08:46:20 +00:00
parent 0d0c9df4db
commit 2d41edc263

View File

@ -89,7 +89,7 @@ class historylog
*/ */
function delete($record_id) function delete($record_id)
{ {
$where = array('history_appname' => $record_id); $where = array('history_appname' => $this->appname);
if (is_array($record_id) || is_numeric($record_id)) if (is_array($record_id) || is_numeric($record_id))
{ {