$userid not found in class_dm_threadpost.php
I'm trying to make it so only the admin has the ability to use all uppercase in a thread title.
Line 183 in the class_dm_threadpost.php file I have added a condtional.
if ($userid != 1)
{
$title = fetch_no_shouting_text($title);
}
It does not work as expected, I suspect the $userid variable is not know in this php file. Do I use a require once to make this work?
Thank you.
|