classes/hypeJunction/Prototyper/Elements/RelationshipField.php
public function getValues(\ElggEntity $entity) {
		$sticky = $this->getStickyValue();
		$values = array();
		if (!$sticky) {
			if ($entity->guid) {
				$entities = elgg_get_entities_from_relationship(array(
					'relationship_guid' => $entity->guid,
					'relationship' => $this->getShortname(),
					'inverse_relationship' => $this->inverse_relationship,
					'limit' => 0,
					'callback' => false,
				));
				if (is_array($entities) && count($entities)) {
					foreach ($entities as $entity) {
						$values[] = $entity->guid;
					}
				}
			}
		} else {
			$values = $sticky;
		}

		return $values;
	}
public function getValues(\ElggEntity $entity) {
		$sticky = $this->getStickyValue();
		$values = array();
		if (!$sticky) {
			if ($entity->guid) {
				$entities = elgg_get_entities_from_relationship(array(
					'relationship_guid' => $entity->guid,
					'relationship' => $this->getShortname(),
					'inverse_relationship' => $this->inverse_relationship,
					'limit' => 0,
					'callback' => false,
				));
				if (is_array($entities) && count($entities)) {
					foreach ($entities as $entity) {
						$values[] = $entity->guid;
					}
				}
			}
		} else {
			$values = $sticky;
		}

		return $values;
	}
{@inheritdoc}