summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/oci8/oci8_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-01-26 13:12:14 +0100
committerAndrey Andreev <narf@bofh.bg>2012-01-26 13:12:14 +0100
commit85facfa42793cce480d2f49696c2d3e3096763f0 (patch)
treedabe7fbd6466cbbe0986e376fab30c9d083cd48b /system/database/drivers/oci8/oci8_driver.php
parent4a31568b2eb410dd153a3636da13d62e9cbfd41a (diff)
Replace array_key_exists() with isset() and ! empty()
Diffstat (limited to 'system/database/drivers/oci8/oci8_driver.php')
-rw-r--r--system/database/drivers/oci8/oci8_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index 9fce18674..700cde4b8 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -255,7 +255,7 @@ class CI_DB_oci8_driver extends CI_DB {
{
$sql .= $param['name'].',';
- if (array_key_exists('type', $param) && ($param['type'] === OCI_B_CURSOR))
+ if (isset($param['type']) && $param['type'] === OCI_B_CURSOR)
{
$have_cursor = TRUE;
}