Browse Source

update view mode construction

main
ghost 8 months ago
parent
commit
d3d810ee9c
  1. 14
      src/server.php

14
src/server.php

@ -392,9 +392,11 @@ $server->setHandler( @@ -392,9 +392,11 @@ $server->setHandler(
) {
if ($record['transaction'] == $attribute[1])
{
// Raw mode
if ('raw' == $request->getQuery())
// View mode
switch ($request->getQuery())
{
case 'raw':
// Transaction ID
$result[] = null;
$result[] = sprintf(
@ -491,11 +493,11 @@ $server->setHandler( @@ -491,11 +493,11 @@ $server->setHandler(
$result[] = null;
$result[] = $record['block'];
}
// Reader mode
else
{
break;
default:
// Key
$result[] = null;
$result[] = sprintf(

Loading…
Cancel
Save