Fatal error: Uncaught exception 'ADODB_Exception' with message 'postgres7 error: [-1: ERROR: invalid input syntax for integer: "" LINE 8: WHERE condominio_id = '' ^] in EXECUTE("SELECT id, condominio_id, ordem, destaque, restrita FROM fotos_condominios WHERE condominio_id = '' ORDER BY ordem ASC ") ' in /home/bordinimoveis/www/novosite/_funcoes/_classes/adodb5/adodb-exceptions.inc.php:78 Stack trace: #0 /home/bordinimoveis/www/novosite/_funcoes/_classes/adodb5/adodb.inc.php(1042): adodb_throw('postgres7', 'EXECUTE', -1, 'ERROR: invalid...', 'SELECT ??????id...', false, Object(ADODB_postgres7)) #1 /home/bordinimoveis/www/novosite/_funcoes/_classes/adodb5/adodb.inc.php(1017): ADOConnection->_Execute('SELECT ??????id...', false) #2 /home/bordinimoveis/www/novosite/_funcoes/_classes/adodb5/adodb.inc.php(764): ADOConnection->Execute('SELECT ??????id...', false) #3 /home/bordinimoveis/www/novosite/_funcoes/funcoes.php(288): ADOConnection->Que in /home/bordinimoveis/www/novosite/_funcoes/_classes/adodb5/adodb-exceptions.inc.php on line 78