[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.db.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.db.inc.php |
Date: |
Tue, 29 Aug 2006 07:53:23 +0000 |
CVSROOT: /cvsroot/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 06/08/29 07:53:23
Modified files:
inc : class.db.inc.php
Log message:
E_NOTICE and formatting
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.db.inc.php?cvsroot=phpgwapi&r1=1.27&r2=1.28
Patches:
Index: class.db.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.db.inc.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- class.db.inc.php 28 Aug 2006 02:13:30 -0000 1.27
+++ class.db.inc.php 29 Aug 2006 07:53:23 -0000 1.28
@@ -9,7 +9,7 @@
* @link http://www.sanisoft.com/phplib/manual/DB_sql.php
* @package phpgwapi
* @subpackage database
- * @version $Id: class.db.inc.php,v 1.27 2006/08/28 02:13:30 skwashd Exp
$
+ * @version $Id: class.db.inc.php,v 1.28 2006/08/29 07:53:23 skwashd Exp
$
*/
if (empty($GLOBALS['phpgw_info']['server']['db_type']))
@@ -72,9 +72,9 @@
var $Password;
/**
- * @var bool $Debug enable debugging
+ * @var bool $debug enable debugging
*/
- var $debug = False;
+ var $debug = false;
/**
* @var string $Halt_On_Error should connection and script be
terminated on error?
@@ -171,12 +171,12 @@
*/
function db_addslashes($str)
{
- if($this->debug)
+ if ( $this->debug )
{
// $GLOBALS['phpgw']->log
//echo 'to_timestanp: db_addsl';
}
- if(!$this->adodb) //workaround
+ if ( !is_object($this->adodb) ) //workaround
{
return addslashes($str);
}