Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
ci226
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e7853e89
authored
May 05, 2019
by
irul
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug fix: Illegal string offset 'server'
1 parent
42b56a37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
system/database/drivers/postgre/postgre_driver.php
system/database/drivers/postgre/postgre_driver.php
View file @
e7853e8
...
@@ -328,8 +328,7 @@ class CI_DB_postgre_driver extends CI_DB {
...
@@ -328,8 +328,7 @@ class CI_DB_postgre_driver extends CI_DB {
*/
*/
function
insert_id
()
function
insert_id
()
{
{
$v
=
$this
->
_version
();
$v
=
pg_version
(
$this
->
conn_id
);
$v
=
isset
(
$v
[
'server'
])
?
$v
[
'server'
]
:
0
;
$v
=
$v
[
'server'
];
$table
=
func_num_args
()
>
0
?
func_get_arg
(
0
)
:
NULL
;
$table
=
func_num_args
()
>
0
?
func_get_arg
(
0
)
:
NULL
;
$column
=
func_num_args
()
>
1
?
func_get_arg
(
1
)
:
NULL
;
$column
=
func_num_args
()
>
1
?
func_get_arg
(
1
)
:
NULL
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment