Index: trunk/extensions/PageSchemas/specials/PS_EditSchema.php |
— | — | @@ -325,7 +325,7 @@ |
326 | 326 | ); |
327 | 327 | //first row of the result set |
328 | 328 | $row = $dbr->fetchRow( $res ); |
329 | | - if( $row == null ){ |
| 329 | + if( $row == null && !$title->exists() ){ |
330 | 330 | //Create form here, Cat doesnt exist, create new cat with this text |
331 | 331 | $text_1 .= $text; |
332 | 332 | $wgOut->addHTML( $text_1 ); |