mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 15:05:45 +00:00
MINOR Fixed edge case around
This commit is contained in:
parent
5e058a151d
commit
8bbf8401f9
@ -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='';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user