From 710af95e2e351dade83512e93375f0eddb5d500b Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 3 Sep 2004 15:10:05 +0000 Subject: [PATCH] Fix bug http://bugzilla.wikipedia.org/show_bug.cgi?id=270 PHPTal skins would not let an user watch a non existent page. --- includes/SkinPHPTal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index 5a961a7b48..f265f783aa 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -450,7 +450,7 @@ class SkinPHPTal extends Skin { } } - if ( $wgUser->getID() != 0 and $action != 'edit' and $action != 'submit' ) { + if ( $wgUser->getID() != 0 and $action != 'submit' ) { if( !$wgTitle->userIsWatching()) { $content_actions['watch'] = array('class' => ($action == 'watch' or $action == 'unwatch') ? 'selected' : false, 'text' => wfMsg('watch'), -- 2.20.1