From 5af9b511a8cfb5b870bda381894936b8a308a18f Mon Sep 17 00:00:00 2001 From: Sven Date: Tue, 31 Jan 2017 11:46:56 +0100 Subject: [PATCH] Fixes #142 --- inc/plugins/thankyoulike.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/plugins/thankyoulike.php b/inc/plugins/thankyoulike.php index 9323a24..44a035f 100644 --- a/inc/plugins/thankyoulike.php +++ b/inc/plugins/thankyoulike.php @@ -1095,7 +1095,7 @@ function thankyoulike_postbit(&$post) function thankyoulike_postbit_udetails(&$post) { - global $mybb, $templates, $lang; + global $mybb, $db, $templates, $lang; $prefix = 'g33k_thankyoulike_'; $lang->load("thankyoulike");