jenkins-bot has submitted this change and it was merged.

Change subject: Fix notice in WorkflowLoader that was inexplicably only showing 
up for moderation
......................................................................


Fix notice in WorkflowLoader that was inexplicably only showing up for 
moderation

Change-Id: I17495cf6515da04f2f82111006b01dca5578f14a
---
M includes/WorkflowLoader.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Matthias Mullie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/WorkflowLoader.php b/includes/WorkflowLoader.php
index 73d444e..e578740 100644
--- a/includes/WorkflowLoader.php
+++ b/includes/WorkflowLoader.php
@@ -27,7 +27,7 @@
                if ( $pageTitle === null ) {
                        throw new \MWException( 'Invalid article requested' );
                }
-               if ( $pageTitle->mInterwiki ) {
+               if ( $pageTitle && $pageTitle->mInterwiki ) {
                        throw new \MWException( 'Interwiki not implemented yet' 
);
                }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I17495cf6515da04f2f82111006b01dca5578f14a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Werdna <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to