  		return $this->link_id;
  	}
 diff --git a/include/dblayer/mysqli.php b/include/dblayer/mysqli.php
-index 2f41e838..4050c0db 100644
+index 05ae5996..834e635f 100644
 --- a/include/dblayer/mysqli.php
 +++ b/include/dblayer/mysqli.php
 @@ -49,7 +49,7 @@ class DBLayer

 		return $this->link_id;
 	}
diff --git a/include/dblayer/mysql_innodb.php b/include/dblayer/mysql_innodb.php
index 52c467c2..ca35f330 100644
--- a/include/dblayer/mysql_innodb.php
+++ b/include/dblayer/mysql_innodb.php
@@ -48,7 +48,7 @@ class DBLayer

 $forum_actions = array();
 
diff --git a/viewtopic.php b/viewtopic.php
index 4a21a556..10fb06fe 100644
--- a/viewtopic.php
+++ b/viewtopic.php
@@ -171,20 +171,44 @@ else
