diff --git a/core.php b/core.php
index 94f72b9..f956d5e 100755
--- a/core.php
+++ b/core.php
@@ -375,7 +375,8 @@ function printHeader($html, $printpage) {
}
if (isset($_SESSION['type']) && $_SESSION['type'] == 2) {
- $html .= "\t\t\t\tEdit\n";
+ $pid = $i + 1;
+ $html .= "\t\t\t\tEdit\n";
}
if (!isset($_SESSION['type'])) {