mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
MINOR: Small boundary condition bugfix
This commit is contained in:
parent
cbe1b93928
commit
b493435b5b
@ -347,7 +347,7 @@ class PostgreSQLDatabase extends Database {
|
|||||||
AND NOT b.attisdropped AND b.attnum>0")->column();
|
AND NOT b.attisdropped AND b.attnum>0")->column();
|
||||||
|
|
||||||
$output = array();
|
$output = array();
|
||||||
foreach($fields as $field) {
|
if($fields) foreach($fields as $field) {
|
||||||
$output[$field] = true;
|
$output[$field] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user