Browse Source

apenas pbx_parametros sem org_id

1.9
bruno 2 months ago
parent
commit
5c304339f3
  1. 4
      include/util/util.php

4
include/util/util.php

@ -537,8 +537,8 @@ function StrToIntDef($str, $def = 0)
function GetDddPadrao($numero = '') function GetDddPadrao($numero = '')
{ {
$query = "select prm_ddd_padrao from pbx_parametros where id = 1 and org_id = $org_id\n"; $query = "select prm_ddd_padrao from pbx_parametros where id = 1\n";
$result = pg_query($query); $result = pg_query( $query );
if (pg_num_rows($result)) { if (pg_num_rows($result)) {
$dados = pg_fetch_row($result); $dados = pg_fetch_row($result);

Loading…
Cancel
Save