Denny Vrandecic has submitted this change and it was merged.

Change subject: Have PropertyValue return the value is contains in getValue 
rather then itself
......................................................................


Have PropertyValue return the value is contains in getValue rather then itself

Change-Id: I9910ef775f5b25e1fd8b471c5ff4a77be9465ee0
---
M DataValues/includes/values/PropertyValue.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Denny Vrandecic: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/DataValues/includes/values/PropertyValue.php 
b/DataValues/includes/values/PropertyValue.php
index 3cf1d43..0831dd7 100644
--- a/DataValues/includes/values/PropertyValue.php
+++ b/DataValues/includes/values/PropertyValue.php
@@ -130,7 +130,7 @@
         * @return mixed
         */
        public function getValue() {
-               return $this;
+               return $this->id;
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/64051
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9910ef775f5b25e1fd8b471c5ff4a77be9465ee0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DataValues
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Denny Vrandecic <denny.vrande...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to