cvs: pear /MDB2/MDB2/Driver mssql.php

From: Date: Thu, 15 Jun 2006 05:38:06 +0000
Subject: cvs: pear /MDB2/MDB2/Driver mssql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-40699@lists.php.net to get a copy of this message
nrf Thu Jun 15 05:38:06 2006 UTC Modified files: /pear/MDB2/MDB2/Driver mssql.php Log: - fix logic error http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mssql.php?r1=1.126&r2=1.127&diff_format=u Index: pear/MDB2/MDB2/Driver/mssql.php diff -u pear/MDB2/MDB2/Driver/mssql.php:1.126 pear/MDB2/MDB2/Driver/mssql.php:1.127 --- pear/MDB2/MDB2/Driver/mssql.php:1.126 Thu Jun 15 05:02:07 2006 +++ pear/MDB2/MDB2/Driver/mssql.php Thu Jun 15 05:38:06 2006 @@ -43,7 +43,7 @@ // | Author: Frank M. Kromann <frank@kromann.info> | // +----------------------------------------------------------------------+ // -// $Id: mssql.php,v 1.126 2006/06/15 05:02:07 nrf Exp $ +// $Id: mssql.php,v 1.127 2006/06/15 05:38:06 nrf Exp $ // // {{{ Class MDB2_Driver_mssql /** @@ -575,7 +575,7 @@ { $server_info = $this->getServerVersion(); if (is_array($server_info) - && $server_info['major'] == null + && !is_null($server_info['major']) && $server_info['major'] >= 8) { $query = "SELECT SCOPE_IDENTITY()"; } else {

« previous php.pear.cvs (#40699) next »