viewseries.php: fix up the series existing check - this incidentally removes the PHP 7+ requirement...
viewseries.php: fix up the series existing check - this incidentally removes the PHP 7+ requirement...

--- a/viewseries.php
+++ b/viewseries.php
@@ -39,13 +39,14 @@
 $seriesid = (isset($_GET['seriesid']) && is_numeric($_GET['seriesid'])) ? escapestring($_GET['seriesid']) : false;
 $sresult = dbquery(_SERIESQUERY." AND seriesid = '$seriesid' LIMIT 1");
 $series = dbassoc($sresult);
+if (empty($seriesid)) $seriesid = isset($_GET['seriesid']) && isNumber($_GET['seriesid']) ? $_GET['seriesid'] : false;
 if(!$series) {
 	$current = "serieserror";
 	// load our template files to set up the page.
 	if (file_exists("$skindir/default.tpl")) $tpl = new TemplatePower("$skindir/default.tpl");
 	else $tpl = new TemplatePower("default_tpls/default.tpl");
 	$title = "Series was not found";
-	$text  = "Series with ID " . (($seriesid) ?? null) . " is not in database";
+	$text  = "Series with ID " . $seriesid . " is not in database";
 	include("includes/pagesetup.php");
 	$tpl->assign("output", "<div id='pagetitle'>" . $title . "</div>" . write_error($text));
 	$tpl->printToScreen();