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) { @@ -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'])),
];
}

Loading…
Cancel
Save