From 579674c87e3689e29916efb7af4d073653747b77 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Thu, 3 Sep 2009 23:39:32 +0000 Subject: [PATCH] Notice removal --- e107_handlers/mysql_class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107_handlers/mysql_class.php b/e107_handlers/mysql_class.php index 0a105a4e9..f5b8d0ad6 100644 --- a/e107_handlers/mysql_class.php +++ b/e107_handlers/mysql_class.php @@ -9,8 +9,8 @@ * mySQL Handler * * $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $ - * $Revision: 1.42 $ - * $Date: 2009-09-01 20:09:35 $ + * $Revision: 1.43 $ + * $Date: 2009-09-03 23:39:32 $ * $Author: e107coders $ */ @@ -61,7 +61,7 @@ $db_ConnectionID = NULL; // Stores ID for the first DB connection used - which s * MySQL Abstraction class * * @package e107 -* @version $Revision: 1.42 $ +* @version $Revision: 1.43 $ * @author $Author: e107coders $ */ class db { @@ -1086,7 +1086,7 @@ class db { $this->mySQLdefaultdb = $mySQLdefaultdb; } $convert = array("PRIMARY"=>"PRI","INDEX"=>"MUL","UNIQUE"=>"UNI"); - $key = ($convert[$key]) ? $convert[$key] : "OFF"; + $key = (isset($convert[$key])) ? $convert[$key] : "OFF"; if(!$this->mySQLaccess) {