Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/64051


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DataValues 
refs/changes/51/64051/1

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: newchange
Gerrit-Change-Id: I9910ef775f5b25e1fd8b471c5ff4a77be9465ee0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DataValues
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>

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

Reply via email to