r94899 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94898‎ | r94899 | r94900 >
Date:15:37, 18 August 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
minor fix.
Modified paths:
  • /trunk/extensions/PageSchemas/specials/PS_EditSchema.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/specials/PS_EditSchema.php
@@ -325,7 +325,7 @@
326326 );
327327 //first row of the result set
328328 $row = $dbr->fetchRow( $res );
329 - if( $row == null ){
 329+ if( $row == null && !$title->exists() ){
330330 //Create form here, Cat doesnt exist, create new cat with this text
331331 $text_1 .= $text;
332332 $wgOut->addHTML( $text_1 );

Status & tagging log