The foreach loop in header.php used $slug and $servicio as loop variables, which overwrote the same-named variables set by servicio.php. After the loop, both variables held the last service (doble_nacionalidad), so every service page rendered that content. Renamed loop variables to $_nav_slug and $_nav_srv to avoid collision. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3.1 KiB
3.1 KiB