URI: index2.phpMessage: ORA-00907: missing right parenthesisSELECT (o.aro_id IS NOT NULL) AS object_exists FROM sie_core_acl_aro_sections s LEFT JOIN sie_core_acl_aro o ON (s.value=o.section_value AND o.value='104') WHERE s.value='users'
$this->db->setQuery( ' SELECT (o.'. $object_type .'_id IS NOT NULL) AS object_exists FROM '. $object_sections_table .' s LEFT JOIN '. $table .' o ON (s.value=o.section_value AND o.value=\''. $this->db->getEscaped($value) .'\') WHERE s.value=\''. $this->db->getEscaped($section_value). '\'' );
$ordrivers = array('oci8', 'oci805', 'oci8po', 'oracle'); if (in_array($mosConfig_dbtype, $ordrivers)) { $this->db->setQuery( ' SELECT DECODE(o.'. $object_type .'_id,null,0,1) AS object_exists FROM '. $object_sections_table .' s LEFT JOIN '. $table .' o ON (s.value=o.section_value AND o.value=\''. $this->db->getEscaped($value) .'\') WHERE s.value=\''. $this->db->getEscaped($section_value). '\'' ); } else { $this->db->setQuery( ' SELECT (o.'. $object_type .'_id IS NOT NULL) AS object_exists FROM '. $object_sections_table .' s LEFT JOIN '. $table .' o ON (s.value=o.section_value AND o.value=\''. $this->db->getEscaped($value) .'\') WHERE s.value=\''. $this->db->getEscaped($section_value). '\'' ); }