r50191 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50190‎ | r50191 | r50192 >
Date:18:15, 4 May 2009
Author:jan
Status:deferred (Comments)
Tags:
Comment:
See diff
Modified paths:
  • /trunk/extensions/TSPoll/TSPoll.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TSPoll/TSPoll.php
@@ -64,7 +64,7 @@
6565 return wfMsg( 'tspoll-id-error' );
6666 }
6767
68 - if ( isset( $args['dev'] ) && $args['dev'] != "1" ) { // If the arrgument dev is given, use the TSPoll-Dev-Version
 68+ if ( isset( $args['dev'] ) && $args['dev'] == "1" ) { // If the arrgument dev is given, use the TSPoll-Dev-Version
6969 $get_server = Http::get( 'http://toolserver.org/~jan/poll/dev/main.php?page=wiki_output&id='.$id );
7070 } else { // sonst die normale Version verwenden
7171 $get_server = Http::get( 'http://toolserver.org/~jan/poll/main.php?page=wiki_output&id='.$id );

Comments

#Comment by Jan Luca (talk | contribs)   18:17, 4 May 2009

Oh, the change was from $args['dev'] != "1" to $args['dev'] == "1"

Status & tagging log