1
Got a small issue...
Version 2.0.5.2
Module with problem is sections (standard version)
php debug gives this:
Notice: Undefined variable: xoopsUserIsAdmin in /home/fantasya/public_html/header.php on line 91
Fatal error: Call to a member function on a non-object in /home/fantasya/public_html/templates_c/site^theme.html on line 6
Everything else works fine. I have checked that line in header.php on another site and it is the same...
$xoopsTpl->assign(array('xoops_isuser' => true, 'xoops_userid' => $xoopsUser->getVar('uid'), 'xoops_uname' => $xoopsUser->getVar('uname'), 'xoops_isadmin' => $xoopsUserIsAdmin));
I have deleted the file in the templates_c directory. What could be the problem here?? Where else would I look for the xoopsUserIsAdmin variable?
Thanks