Fix undefined $modelId in MWUnknownContentModelException
authorReedy <reedy@wikimedia.org>
Mon, 14 Mar 2016 21:57:03 +0000 (21:57 +0000)
committerReedy <reedy@wikimedia.org>
Mon, 14 Mar 2016 21:57:03 +0000 (21:57 +0000)
Change-Id: I13b93cc1e9d7c050765fab5d8de4e17ca4319dc1

includes/content/ContentHandler.php

index c0bd725..7430caf 100644 (file)
@@ -55,7 +55,7 @@ class MWUnknownContentModelException extends MWException {
 
        /** @return string */
        public function getModelId() {
-               return $modelId;
+               return $this->modelId;
        }
 }