From: Joe Z. <jz...@us...> - 2010-02-25 00:04:42
|
Update of /cvsroot/bobs/bobs/inc In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5609/bobs/inc Modified Files: class_db.php Log Message: Bug fix: "PHP Notice: Undefined index: where in /var/www/html/bobs/inc/class_db.php on line 35" Index: class_db.php =================================================================== RCS file: /cvsroot/bobs/bobs/inc/class_db.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- class_db.php 23 May 2004 21:25:38 -0000 1.6 +++ class_db.php 25 Feb 2010 00:04:33 -0000 1.7 @@ -31,7 +31,9 @@ // class constructor $this->config = $config; - $this->where = $config["where"]; + if (isset($config["where"])) { + $this->where = $config["where"]; + } $this->server = $config["server"]; $this->share = $config["share"]; $this->processdir = $config["processdir"]; |