Skip to content
Snippets Groups Projects
Commit 949baccd authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

cast institute name to string

Closes #1076

Merge request studip/studip!643
parent f452fa80
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ class Institute extends SchemaProvider ...@@ -22,7 +22,7 @@ class Institute extends SchemaProvider
public function getAttributes($institute, ContextInterface $context): iterable public function getAttributes($institute, ContextInterface $context): iterable
{ {
return [ return [
'name' => $institute['Name'], 'name' => (string) $institute['Name'],
'city' => $institute['Plz'], 'city' => $institute['Plz'],
'street' => $institute['Strasse'], 'street' => $institute['Strasse'],
'phone' => $institute['telefon'], 'phone' => $institute['telefon'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment