Fixed a problem with purge.
This commit is contained in:
parent
2db835733f
commit
d624b91075
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue