Commit f4488719 authored by Russ Fish's avatar Russ Fish

Quiet a PHP error.

parent ee199d04
...@@ -98,11 +98,11 @@ if (!isset($records)) { ...@@ -98,11 +98,11 @@ if (!isset($records)) {
} }
echo "<center>\n"; echo "<center>\n";
if ($instance) { if (isset($instance)) {
echo $instance->PageHeader(); echo $instance->PageHeader();
$url = CreateURL("archive_view", $instance); $url = CreateURL("archive_view", $instance);
} }
elseif ($template) { elseif (isset($template)) {
echo $template->PageHeader(); echo $template->PageHeader();
$url = CreateURL("archive_view", $template); $url = CreateURL("archive_view", $template);
} }
......
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