Remove Extra / in URI

Fix extra / in URI that makes link to tx fail on block explorer.
This commit is contained in:
Cactii1 2020-12-18 05:44:11 +01:00 committed by SerHack
parent 90e058baeb
commit fcedf21b30

View File

@ -72,7 +72,7 @@
<?php foreach($details['txs'] as $tx): ?> <?php foreach($details['txs'] as $tx): ?>
<tr> <tr>
<td> <td>
<a href="<?php echo MONERO_GATEWAY_EXPLORER_URL.'/tx/'.$tx['txid']; ?>" target="_blank"><?php echo $tx['txid']; ?></a> <a href="<?php echo MONERO_GATEWAY_EXPLORER_URL.'tx/'.$tx['txid']; ?>" target="_blank"><?php echo $tx['txid']; ?></a>
</td> </td>
<td><?php echo $tx['height']; ?></td> <td><?php echo $tx['height']; ?></td>
<td><?php echo sprintf(MONERO_GATEWAY_ATOMIC_UNITS_SPRINTF, $tx['amount'] / MONERO_GATEWAY_ATOMIC_UNITS_POW); ?> XMR</td> <td><?php echo sprintf(MONERO_GATEWAY_ATOMIC_UNITS_SPRINTF, $tx['amount'] / MONERO_GATEWAY_ATOMIC_UNITS_POW); ?> XMR</td>