$statement->execute(array(
$queue->queueID,
$document->getName(),
- serialize($document)
+ base64_encode(serialize($document))
));
}
AND formName = ?";
$statement = WCF::getDB()->prepareStatement($sql);
$statement->execute(array(
- serialize($document),
+ base64_encode(serialize($document)),
$queue->queueID,
$document->formName
));
$row = $statement->fetchArray();
if ($row) {
- $document = unserialize($row['document']);
+ $document = unserialize(base64_decode($row['document']));
return $document;
}