corercion de valor por defecto en compras.php
Browse files- app/pages/compras.php +1 -1
app/pages/compras.php
CHANGED
|
@@ -20,7 +20,7 @@ $imagenes = [
|
|
| 20 |
</header>
|
| 21 |
<div class="text-center">
|
| 22 |
<img class="img-thumbnail rounded" width="300" height="300"
|
| 23 |
-
src="<?php echo $imagenes[$_GET["articulo"]]
|
| 24 |
alt="<?php echo $_GET["articulo"]; ?>">
|
| 25 |
</div>
|
| 26 |
<div class="text-center">
|
|
|
|
| 20 |
</header>
|
| 21 |
<div class="text-center">
|
| 22 |
<img class="img-thumbnail rounded" width="300" height="300"
|
| 23 |
+
src="<?php echo $imagenes[$_GET["articulo"]] ?? $imagenes["default"]; ?>"
|
| 24 |
alt="<?php echo $_GET["articulo"]; ?>">
|
| 25 |
</div>
|
| 26 |
<div class="text-center">
|