Commit 96f928ec authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add another stamp at the beginning.

parent d5a99bb8
......@@ -205,8 +205,16 @@ if (! ($template = Template->Create(\%args))) {
tbdie("Could not create a new template record!");
}
if ($STAMPS && $modify) {
$parent_template->Stamp("template_create", "modified");
if ($STAMPS) {
if ($modify) {
$parent_template->Stamp("template_create", "modified");
$template->Stamp("template_create", "creating",
undef, "parent_version", $parent_vers);
}
else {
$template->Stamp("template_create", "creating", undef, "new", 0);
}
}
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment