a couple bug fixes

finishing up the versioning system
This commit is contained in:
JT Smith 2005-08-02 20:34:41 +00:00
parent 8dac9d9daa
commit df1514ee74
9 changed files with 111 additions and 18 deletions

View file

@ -159,7 +159,7 @@ Cleans up a WebGUI session information from memory and disconnects from any reso
=cut
sub close {
$session{asset}->DESTROY() if (exists $session{asset});
$session{asset}->DESTROY() if (exists $session{asset} && $session{asset} ne "");
foreach my $slavedbh (@{$session{slave}}) {
$slavedbh->disconnect();
}