Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix - Pet #739

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dao/pet/exibir_cor.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
require_once'../Conexao.php';
<?php
require_once '../Conexao.php';
$pdo = Conexao::connect();
$sql = 'select * from pet_cor';
$stmt = $pdo->query($sql);
Expand Down
6 changes: 3 additions & 3 deletions html/pet/cadastro_pet.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function noType(){
*/
/** Função adicionar_raca */
function gerarRaca() {
url = '../../../dao/pet/exibir_raca.php';
url = '../../dao/pet/exibir_raca.php';
$.ajax({
data: '',
type: "POST",
Expand Down Expand Up @@ -405,7 +405,7 @@ function adicionar_raca() {
/** Função adicionar_especie */

function gerarEspecie() {
url = '../../../dao/pet/exibir_especie.php';
url = '../../dao/pet/exibir_especie.php';
$.ajax({
data: '',
type: "POST",
Expand Down Expand Up @@ -460,7 +460,7 @@ function adicionar_especie() {
/** Função adicionar_cor */

function gerarCor() {
url = '../../../dao/pet/exibir_cor.php';
url = '../../dao/pet/exibir_cor.php';
$.ajax({
data: '',
type: "POST",
Expand Down