Robmoen has submitted this change and it was merged.

Change subject: Fix missnamed variable on Collection
......................................................................


Fix missnamed variable on Collection

Owner was null because in constructor variable was missnamed as user.

Change-Id: I68872c638bc89066ccfb36c0fd81422ed2045d3c
---
M includes/models/Collection.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Robmoen: Verified; Looks good to me, approved



diff --git a/includes/models/Collection.php b/includes/models/Collection.php
index 8006468..2114b90 100644
--- a/includes/models/Collection.php
+++ b/includes/models/Collection.php
@@ -48,7 +48,7 @@
         * @param string $description Description of the collection
         */
        public function __construct( User $user, $title = '', $description = 
'', $public = true ) {
-               $this->user = $user;
+               $this->owner = $user;
                $this->title = $title;
                $this->description = $description;
                $this->public = $public;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I68872c638bc89066ccfb36c0fd81422ed2045d3c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jhernandez <[email protected]>
Gerrit-Reviewer: Robmoen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to