From 5e21a2b8a9b511d06d2dc267157f9174fcaf431c Mon Sep 17 00:00:00 2001
From: Stefan Brannfjell <braste10@nith.no>
Date: Sun, 31 Aug 2014 13:51:42 +0200
Subject: [PATCH] Possible Fix #135 . PHP error notice during character soft
 deletion.

---
 myaccount.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/myaccount.php b/myaccount.php
index 29ec52f..22e3c21 100644
--- a/myaccount.php
+++ b/myaccount.php
@@ -213,6 +213,7 @@ if (!empty($_POST['selected_comment'])) {
 				user_delete_character(user_character_id($delete['character_name']));
 				mysql_update('UPDATE `znote_deleted_characters` SET `done` = 1');
 				echo '<b>Character ' . $delete['character_name'] . ' has been deleted</b>. This operation was requested by owner of this account.';
+				$char_count--;
 			}
 		}
 	?>