Index: lib/TWiki/UI/Edit.pm
===================================================================
RCS file: /cvsroot/twiki/twiki/lib/TWiki/UI/Edit.pm,v
retrieving revision 1.1
diff -u -r1.1 Edit.pm
--- lib/TWiki/UI/Edit.pm 11 Apr 2004 05:28:51 -0000 1.1
+++ lib/TWiki/UI/Edit.pm 12 Apr 2004 11:13:48 -0000
@@ -125,9 +125,9 @@
$templateWeb = $1;
$templateTopic = $2;
}
+
( $meta, $text ) = &TWiki::Store::readTopic( $templateWeb, $templateTopic );
- }
- if( ! $text ) {
+ } elsif( ! $text ) {
( $meta, $text ) = &TWiki::Store::readTemplateTopic( "WebTopicEditTemplate" );
}
$extra = "(not exist)";
-- MartinCleaver - 12 Apr 2004
Looks simple enough. Will commit shortly if nobody sees anything wrong with doing so.
-- WalterMundt - 20 Apr 2004
Committed.
-- WalterMundt - 28 Apr 2004
| WebForm | |
|---|---|
| TopicClassification | PatchAccepted |
| TopicSummary | Ensure that the default template gets overridden by a template passed in |
| InterestedParties | |
| AssignedTo | MartinCleaver |
| AssignedToCore | WalterMundt |
| ScheduledFor | CairoRelease |
| ImplementationDate | N/A |
| RelatedTopics | |
| SpecProgress | 100% |
| ImplProgress | 100% |
| DocProgress | 100% |