katabd,
Hmmm. I tried adding it and this is the result I get:
A fatal error has occured: Can't call method "fetchrow_hashref" on an undefined value at (eval 17) line 7.
Please enable debugging in setup for more details.Stack Trace======================================Links (6178): Links::environment called at /home/ohiobiz/linkssql2/admin/Links.pm line 418 with no arguments.Links (6178): Links::fatal called at (eval 17) line 7 with arguments (Can't call method "fetchrow_hashref" on an undefined value at (eval 17) line 7. ).Links (6178): Links::__ANON__ called at /home/ohiobiz/linkssql2/admin/GT/Template.pm line 759 with arguments (HASH(0x84c6050)).Links (6178): GT::Template::_get_var called at /home/ohiobiz/linkssql2/admin/templates/default/compiled/rate.html.compiled line 70 with arguments (GT::Template=HASH(0x84c5f18), last_searched, 0, 1).Links (6178): GT::Template::__ANON__ called at /home/ohiobiz/linkssql2/admin/GT/Template.pm line 539 with arguments (GT::Template=HASH(0x84c5f18)).Links (6178): GT::Template::_parse called at /home/ohiobiz/linkssql2/admin/GT/Template.pm line 89 with arguments (GT::Template=HASH(0x84c5f18), rate.html, HASH(0x84c52d8)).Links (6178): GT::Template::parse called at /home/ohiobiz/linkssql2/admin/Links.pm line 291 with arguments (GT::Template, rate.html, ARRAY(0x84c5308), HASH(0x84c52d8)).Links (6178): Links::user_page called at (eval 10) line 1 with arguments (rate.html, HASH(0x84c188c), HASH(0x84c52d8)).Links (6178): Links::SiteHTML::site_html_rate called at /home/ohiobiz/linkssql2/admin/GT/Plugins.pm line 88 with arguments (HASH(0x84c188c), [undef]).Links (6178): GT::Plugins::dispatch called at /home/ohiobiz/linkssql2/admin/Links/SiteHTML.pm line 28 with arguments (GT::Plugins, /home/ohiobiz/linkssql2/admin/Plugins, site_html_rate, *Links::SiteHTML::site_html_rate, HASH(0x84c188c), [undef]).Links (6178): Links::SiteHTML::display called at /home/ohiobiz/linkssql2/admin/Links/User/Rate.pm line 48 with arguments (rate, HASH(0x84c188c)).Links (6178): Links::User::Rate::handle called at /home/ohiobiz/linkssql2/admin/GT/Plugins.pm line 88 with no arguments.Links (6178): GT::Plugins::dispatch called at /home/www/pages/ohiobiz/linkssql2/rate.cgi line 25 with arguments (GT::Plugins, /home/ohiobiz/linkssql2/admin/Plugins, handle_rate, CODE(0x80d49fc)).How can I modify the global to get this to work properly?Thanks.mgeyman