trim key/value

This commit is contained in:
ghost 2021-08-11 10:54:49 +03:00
parent 3e7beba89c
commit 55b347d694

View File

@ -53,8 +53,8 @@ foreach ($db->getData($ns, $tx, $query, $limit, PAGE_LIMIT) as $value) {
'block' => $value['block'],
'txid' => $value['txid'],
'time' => date('d-m-Y H:i', $value['time']),
'key' => nl2br($value['key']),
'value' => nl2br($value['value']),
'key' => nl2br(trim($value['key'])),
'value' => nl2br(trim($value['value'])),
];
}