From 427798373755e245d666fb956c0a9eb8bd81a762 Mon Sep 17 00:00:00 2001 From: Reedy Date: Mon, 14 Mar 2016 21:57:03 +0000 Subject: [PATCH] Fix undefined $modelId in MWUnknownContentModelException Change-Id: I13b93cc1e9d7c050765fab5d8de4e17ca4319dc1 --- includes/content/ContentHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php index c0bd725761..7430caf8b4 100644 --- a/includes/content/ContentHandler.php +++ b/includes/content/ContentHandler.php @@ -55,7 +55,7 @@ class MWUnknownContentModelException extends MWException { /** @return string */ public function getModelId() { - return $modelId; + return $this->modelId; } } -- 2.20.1