MINOR Fixed edge case around

This commit is contained in:
Ingo Schommer 2011-09-15 18:01:02 +02:00
parent 5e058a151d
commit 8bbf8401f9

View File

@ -1688,6 +1688,7 @@ class PostgreSQLDatabase extends SS_Database {
// by checking for its existence first
$fields = $this->fieldList($row['table_name']);
if(array_key_exists('ShowInSearch', $fields)) $showInSearch="AND \"ShowInSearch\"=1 ";
else $showInSearch='';
} else {
$showInSearch='';
}