Browse Source

trim key/value

pull/8/head
ghost 3 years ago
parent
commit
55b347d694
  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