From c474ab68991a4f3c8860dff1c03d41175dee1168 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Mon, 6 Aug 2018 14:34:11 -1000 Subject: [PATCH] fixed title rank being set to same as last rank entered --- includes/titleranks-add.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/titleranks-add.php b/includes/titleranks-add.php index 371d5d6..4e53e45 100644 --- a/includes/titleranks-add.php +++ b/includes/titleranks-add.php @@ -26,8 +26,7 @@ if (isset($_SESSION['tr'])) { if (is_null($gwstmr)) { $tr = 1; } else { - $tr = $gwstmr; - echo 'variable tr is set to: ' . $tr . '
'; + $tr = $gwstmr + 1; } } }