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

fix typo, fixes #1767

Closes #1767

Merge request studip/studip!1143
parent 35deb3da
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
value="<?= htmlReady($room->id) ?>"> value="<?= htmlReady($room->id) ?>">
<?= htmlReady(mb_substr($room->name, 0, 50)); ?> <?= htmlReady(mb_substr($room->name, 0, 50)); ?>
<? if ($room->properties): ?> <? if ($room->properties): ?>
<? $property_names = $room->getInfolabelPrperties() <? $property_names = $room->getInfolabelProperties()
->pluck('fullname') ?> ->pluck('fullname') ?>
<?= tooltipIcon(implode("\n", $property_names)) ?> <?= tooltipIcon(implode("\n", $property_names)) ?>
<? endif ?> <? endif ?>
......
...@@ -1468,7 +1468,7 @@ class Resource extends SimpleORMap implements StudipItem ...@@ -1468,7 +1468,7 @@ class Resource extends SimpleORMap implements StudipItem
* *
* @return SimpleCollection * @return SimpleCollection
*/ */
public function getInfolabelPrperties() public function getInfolabelProperties()
{ {
return SimpleCollection::createFromArray( return SimpleCollection::createFromArray(
ResourceProperty::findBySQL('INNER JOIN `resource_property_definitions` USING (`property_id`) ResourceProperty::findBySQL('INNER JOIN `resource_property_definitions` USING (`property_id`)
......
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