diff --git a/core/trunk/core/class/class_history.php b/core/trunk/core/class/class_history.php
index 162e18ae80e4acc4f51e6b145daf61e157aaeb93..c3f90d54ee5898ba8f6111bbba82719f436c26ab 100644
--- a/core/trunk/core/class/class_history.php
+++ b/core/trunk/core/class/class_history.php
@@ -85,6 +85,7 @@ require_once(
     "core"
     .DIRECTORY_SEPARATOR."core_tables.php"
 );
+$_SESSION['tablename']['history'] = HISTORY_TABLE;
 
 class history extends dbquery
 {