Fixed a problem with purge.

This commit is contained in:
JT Smith 2002-05-23 03:27:10 +00:00
parent 2db835733f
commit d624b91075

View file

@ -78,7 +78,7 @@ sub new {
#-------------------------------------------------------------------
sub purge {
WebGUI::SQL->write("delete from DownloadManager_file where wobjectId=$_[0]");
WebGUI::SQL->write("delete from DownloadManager_file where wobjectId=".$_[0]->get("wobjectId"));
$_[0]->SUPER::purge();
}