diff --git a/app/views/course/room_requests/request_select_room.php b/app/views/course/room_requests/request_select_room.php index 37e28c3606d9820605ee678f947bfd9e18f7a08c..1d12204b7f63bfe577e01f91b224434a42b84195 100644 --- a/app/views/course/room_requests/request_select_room.php +++ b/app/views/course/room_requests/request_select_room.php @@ -38,7 +38,7 @@ value="<?= htmlReady($room->id) ?>"> <?= htmlReady(mb_substr($room->name, 0, 50)); ?> <? if ($room->properties): ?> - <? $property_names = $room->getInfolabelPrperties() + <? $property_names = $room->getInfolabelProperties() ->pluck('fullname') ?> <?= tooltipIcon(implode("\n", $property_names)) ?> <? endif ?> diff --git a/lib/models/resources/Resource.class.php b/lib/models/resources/Resource.class.php index a53c7d99498ab4d9f389a425ddcbf2bfe0a34a11..cb96d34efc6a292db0f15e6124c4271560a199d6 100644 --- a/lib/models/resources/Resource.class.php +++ b/lib/models/resources/Resource.class.php @@ -1464,7 +1464,7 @@ class Resource extends SimpleORMap implements StudipItem * * @return SimpleCollection */ - public function getInfolabelPrperties() + public function getInfolabelProperties() { return SimpleCollection::createFromArray( ResourceProperty::findBySQL('INNER JOIN `resource_property_definitions` USING (`property_id`)