Browse Source

colocar org_id correto

1.9
bruno 2 months ago
parent
commit
e5fe196572
  1. 4
      admin/cadAnuncios.php

4
admin/cadAnuncios.php

@ -102,8 +102,8 @@ function salvarAnuncio ($nome, $som_ura, $teste, $opcao, $acaoDest, $org_id) {
pg_query($dbcon, $query);
CommandAsterisk2($dbcon, 'ORG_ID', "$org_id$id", $org_id);
CommandAsterisk2($dbcon, 'ORG_ANUNCIO', "$org_id$last_id", "_a$last_id");
CommandAsterisk2($dbcon, 'TIPO', "$org_id$last_id", "ANUNCIO");
CommandAsterisk2($dbcon, 'ORG_ANUNCIO', "$org_id$id", "_a$id");
CommandAsterisk2($dbcon, 'TIPO', "$org_id$id", "ANUNCIO");
CommandAsterisk2($dbcon, 'NOME_APP', "$org_id$id", "$nome");
CommandAsterisk2($dbcon, 'NUMERO', "$org_id$id", "_a$org_id$id");
CommandAsterisk2($dbcon, 'ID', "$org_id$id", "$id");

Loading…
Cancel
Save