summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2007-07-12 15:56:21 +0200
committerDerek Jones <derek.jones@ellislab.com>2007-07-12 15:56:21 +0200
commitf9a4e9e04589df8dcf808519c95703f16c318384 (patch)
treeea0a52cfcb037f6a5281ac35f3c03d0e27cdf81e
parent4cf29dd28c1b2d54f9b76d77b6a75afbb8b27854 (diff)
fixed undefined function in insert_id() of PostgreSQL driver
-rw-r--r--system/database/drivers/postgre/postgre_driver.php2
-rw-r--r--user_guide/changelog.html5
2 files changed, 4 insertions, 3 deletions
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php
index bfb212cfd..798905126 100644
--- a/system/database/drivers/postgre/postgre_driver.php
+++ b/system/database/drivers/postgre/postgre_driver.php
@@ -230,7 +230,7 @@ class CI_DB_postgre_driver extends CI_DB {
*/
function insert_id()
{
- $v = version($this->conn_id);
+ $v = $this->_version();
$v = $v['server'];
$table = func_num_args() > 0 ? func_get_arg(0) : null;
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 04328f69c..1d0f3b6b6 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -83,13 +83,14 @@ Change Log
<li>Fixed a bug in router that was ignoring the scaffolding route for optimization </li>
<li>Fixed an IP validation bug.</li>
<li>Fixed a bug in display of POST keys in the <a href="./general/profiling.html">Profiler</a> output</li>
- <li>Fixed a bug in display of queries with characters that would be interpreted as HTML in the Profiler output</li>
+ <li>Fixed a bug in display of queries with characters that would be interpreted as HTML in the <a href="./general/profiling.html">Profiler</a> output</li>
<li>Fixed a bug in display of Email class print debugger with characters that would be interpreted as HTML in the debugging output</li>
<li>Fixed a bug in the Content-Transfer-Encoding of HTML emails with the quoted-printable MIME type</li>
+ <li>Fixed a bug where one could unset certain PHP superglobals by setting them via GET or POST data</li>
+ <li>Fixed an undefined function error in the insert_id() function of the PostgreSQL driver</li>
<li>Fixed various doc typos. </li>
<li>Documented two functions from the <a href="./helpers/string_helper.html">String helper </a> that were missing from the user guide: trim_slashes() and reduce_double_slashes().</li>
<li>Docs now validate to XHTML 1 transitional</li>
- <li>Fixed a bug where one could unset certain PHP superglobals by setting them via GET or POST data</li>
<li>Updated the XSS Filtering to take into account the IE expression() ability and improved certain deletions to prevent possible exploits</li>
<li>Modified the Router so that when Query Strings are Enabled, the controller trigger and function trigger values are sanitized for filename include security.</li>
<li>Modified the is_image() method in the Upload library to take into account Windows IE 6/7 eccentricities when dealing with MIMEs</li>