From adaa7de7db1dade27c027f4fcfbd64a74f080b67 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 4 Dec 2015 14:25:12 +0100 Subject: [PATCH] Using proper class name resolution --- wcfsetup/install/files/lib/data/page/Page.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/data/page/Page.class.php b/wcfsetup/install/files/lib/data/page/Page.class.php index 6b185b8663..4bdab514fa 100644 --- a/wcfsetup/install/files/lib/data/page/Page.class.php +++ b/wcfsetup/install/files/lib/data/page/Page.class.php @@ -123,7 +123,7 @@ class Page extends DatabaseObject { $statement = WCF::getDB()->prepareStatement($sql); $statement->execute([$identifier]); - return $statement->fetchObject(Page::class); + return $statement->fetchObject(self::class); } /** @@ -139,6 +139,6 @@ class Page extends DatabaseObject { $statement = WCF::getDB()->prepareStatement($sql); $statement->execute([$name]); - return $statement->fetchObject(Page::class); + return $statement->fetchObject(self::class); } } -- 2.20.1