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");