IniRepository: don't persist the key column as regular column

This commit is contained in:
Alexander A. Klimov 2016-10-26 10:27:30 +02:00
parent 418a428f1e
commit 5212b6bab9

View File

@ -118,6 +118,9 @@ abstract class IniRepository extends Repository implements Extensible, Updatable
}
}
// This is necessary as the query result set contains the key column.
unset($config->$keyColumn);
if ($newSection) {
if ($this->ds->hasSection($newSection)) {
throw new StatementException(t('Cannot update. Section "%s" does already exist'), $newSection);