summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2011-09-23 02:32:45 +0200
committerAndrey Andreev <narf@bofh.bg>2011-09-23 02:32:45 +0200
commitb83c4088829207af39e862d6252eff393bc71642 (patch)
treec5a03a45f95734ccc2a30a6aef097be7b65517ee /system/database/drivers
parent99c6dd49e61c463499d1e50945ac29a3f383ec48 (diff)
Add brackets to the for() loop
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/oci8/oci8_driver.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index 33991ab53..1cf063ec1 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -659,7 +659,9 @@ class CI_DB_oci8_driver extends CI_DB {
$sql = "INSERT ALL\n";
for ($i = 0, $c = count($values); $i < $c; $i++)
+ {
$sql .= ' INTO ' . $table . ' (' . $keys . ') VALUES ' . $values[$i] . "\n";
+ }
$sql .= 'SELECT * FROM dual';