summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-02-20 17:55:31 +0100
committerTimothy Warren <tim@timshomepage.net>2012-02-20 17:55:31 +0100
commit53e24f08f930d53dc0e23d180e14d452f97addf9 (patch)
treed9c8ee1dfe16abed2ae8185d44f7fd2f3c89245e
parent0dcfd778350ce397b034f44e34397ea255b35809 (diff)
Properly escape generator name
-rw-r--r--system/database/drivers/interbase/interbase_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/interbase/interbase_driver.php b/system/database/drivers/interbase/interbase_driver.php
index bc7365e4d..fcefa6d97 100644
--- a/system/database/drivers/interbase/interbase_driver.php
+++ b/system/database/drivers/interbase/interbase_driver.php
@@ -309,7 +309,7 @@ class CI_DB_interbase_driver extends CI_DB {
*/
public function insert_id($generator_name, $inc_by=0)
{
- return ibase_gen_id($generator_name, $inc_by);
+ return ibase_gen_id('"'.$generator_name.'"', $inc_by);
}
// --------------------------------------------------------------------