Bug in backup_getid cause return record when no record

must be returned. Solved.
This commit is contained in:
stronk7 2003-06-23 22:36:42 +00:00
parent 6e0470a646
commit 783ab2b07c

View File

@ -414,10 +414,13 @@
$status = false;
}
} else {
////First strip slashes
$temp = stripslashes($status->info);
//Now unserialize
$status->info = unserialize($temp);
//Only if status (record exists)
if ($status) {
////First strip slashes
$temp = stripslashes($status->info);
//Now unserialize
$status->info = unserialize($temp);
}
}
return $status;