From 75cbe31a37ddc310267129f303a4e831dbd6e6e3 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 2 Oct 2016 11:54:01 +0200 Subject: [PATCH] Fix return values of `StructuredComment::key()` --- .../install/files/lib/data/comment/StructuredComment.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/comment/StructuredComment.class.php b/wcfsetup/install/files/lib/data/comment/StructuredComment.class.php index 18de999aa0..1b3f5ab729 100644 --- a/wcfsetup/install/files/lib/data/comment/StructuredComment.class.php +++ b/wcfsetup/install/files/lib/data/comment/StructuredComment.class.php @@ -163,7 +163,7 @@ class StructuredComment extends DatabaseObjectDecorator implements \Countable, \ * @see \Iterator::key() */ public function key() { - return $this->postition; + return $this->position; } /** -- 2.20.1