minor changes

This commit is contained in:
tomas 2005-02-09 22:42:22 +00:00
parent 80875c8e6b
commit 1291e232d6
2 changed files with 5 additions and 6 deletions

View File

@ -23,7 +23,7 @@
Author : $Author: tomas $ Author : $Author: tomas $
Version : $Revision: 1.4 $ Version : $Revision: 1.5 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/DataEngine.php,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/DataEngine.php,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -272,7 +272,6 @@ class DataEngine{
$brFldNs=NULL, $brFld=NULL) $brFldNs=NULL, $brFld=NULL)
{ {
$filetype = $this->filetypes[strtolower($criteria['filetype'])]; $filetype = $this->filetypes[strtolower($criteria['filetype'])];
# if(is_null($filetype)) $filetype =
$operator = strtolower($criteria['operator']); $operator = strtolower($criteria['operator']);
$whereArr = $this->_makeWhereArr($criteria['conditions']); $whereArr = $this->_makeWhereArr($criteria['conditions']);
$browse = !is_null($brFld); $browse = !is_null($brFld);

View File

@ -193,11 +193,11 @@ class XmlParser {
function defaultHandler($parser, $data) function defaultHandler($parser, $data)
{ {
$cnt = count($this->stack); $cnt = count($this->stack);
# if(substr($data, 0, 1) == "&" && substr($data, -1, 1) == ";"){ //if(substr($data, 0, 1) == "&" && substr($data, -1, 1) == ";"){
# $this->stack[$cnt-1]->content .= trim($data); // $this->stack[$cnt-1]->content .= trim($data);
# }else{ //}else{
$this->stack[$cnt-1]->content .= "*** $data ***"; $this->stack[$cnt-1]->content .= "*** $data ***";
# } //}
} }
/** /**
* Return result tree * Return result tree