Browse Source

trim key/value

pull/7/head
ghost 3 years ago
parent
commit
74e505af77
  1. 4
      public/index.php

4
public/index.php

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

Loading…
Cancel
Save