chartManD commited on
Commit
b0d1544
·
1 Parent(s): fc9acc7

corercion de valor por defecto en compras.php

Browse files
Files changed (1) hide show
  1. 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"]] || $imagenes["default"]; ?>"
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">