mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-09-29 20:59:01 +02: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
|
// by checking for its existence first
|
||||||
$fields = $this->fieldList($row['table_name']);
|
$fields = $this->fieldList($row['table_name']);
|
||||||
if(array_key_exists('ShowInSearch', $fields)) $showInSearch="AND \"ShowInSearch\"=1 ";
|
if(array_key_exists('ShowInSearch', $fields)) $showInSearch="AND \"ShowInSearch\"=1 ";
|
||||||
|
else $showInSearch='';
|
||||||
} else {
|
} else {
|
||||||
$showInSearch='';
|
$showInSearch='';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user