Skip to content
Snippets Groups Projects
Commit 7963b464 authored by Tim Steiner's avatar Tim Steiner
Browse files

Weird crash when saving registry rows of at least a certain length.

parent 1b1b7a39
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ class RegistryModel extends Unl_Model
$sqlParts[] = $db->quoteInto('(?, ', $model->_data['registryId'])
. $db->quoteInto('?, ' , $model->_data['namespace'])
. $db->quoteInto('?, ' , $model->_data['key'])
. $db->quoteInto('?)' , base64_encode(serialize($model->_data['data'])));
. "'" . base64_encode(serialize($model->_data['data'])) . "')";
}
$sql .= implode(', ', $sqlParts);
$db->query($sql);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment