Issue 359 - Secret documents's status changed to public.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9498 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-10-05 13:29:37 +00:00
parent c0da2956cb
commit 8cf88300db
3 changed files with 33 additions and 2 deletions

View file

@ -67,7 +67,7 @@
return $dbParser->parseExpression($value);
}
if(!isset($value)) return null;
if(in_array($this->type, array('date', 'varchar', 'char','text', 'bigtext'))){
if(in_array($this->getType(), array('date', 'varchar', 'char','text', 'bigtext'))){
if(!is_array($value))
$value = $this->_escapeStringValue ($value);
else {