diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-02-20 17:55:31 +0100 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-02-20 17:55:31 +0100 |
commit | 53e24f08f930d53dc0e23d180e14d452f97addf9 (patch) | |
tree | d9c8ee1dfe16abed2ae8185d44f7fd2f3c89245e | |
parent | 0dcfd778350ce397b034f44e34397ea255b35809 (diff) |
Properly escape generator name
-rw-r--r-- | system/database/drivers/interbase/interbase_driver.php | 2 |
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); } // -------------------------------------------------------------------- |