Release of v5.0.0-alpha5

Add Factory class to the J5 Event class. #1093. Fix customfilelist field to conform to the new namespacing conventions. #1094. Add menus for languages, servers, get snippets to J5 #1095.
This commit is contained in:
2024-03-20 14:22:10 +02:00
parent 8deb178d7c
commit ac3e230272
26 changed files with 130 additions and 481 deletions

View File

@ -195,12 +195,6 @@ class PlaceholderModel extends AdminModel
$item->metadata = $registry->toArray();
}
if (!empty($item->value))
{
// base64 Decode value.
$item->value = base64_decode($item->value);
}
if (empty($item->id))
{
@ -952,12 +946,6 @@ class PlaceholderModel extends AdminModel
// add the padding (needed)
$data['target'] = '[[[' . trim($data['target']) . ']]]';
// Set the value string to base64 string.
if (isset($data['value']))
{
$data['value'] = base64_encode($data['value']);
}
// Set the Params Items to data
if (isset($data['params']) && is_array($data['params']))
{