VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: BGrinac on May 16, 2022, 15:57:06 PM

Title: isAdmin() bug in Horme_3 template
Post by: BGrinac on May 16, 2022, 15:57:06 PM
Hello,
I have read in the forum that in Joomla 4 code the former, Joomla 3, function isAdmin() has been replaced with isClient('administrator'). I have fixed this manually for Virtuemart 4.0. But when I have updated my test site with Virtuemart 4.02, the error was there again. I am not sure if the bud is still in Virtuemart code, but is in Horme_3 template. Its easy to find with grep.
Title: Re: isAdmin() bug in Horme_3 template
Post by: balai on May 16, 2022, 16:52:18 PM
Nice point!
Title: Re: isAdmin() bug in Horme_3 template
Post by: GJC Web Design on May 16, 2022, 17:17:27 PM
Like a childish guessing game converting from J3 to J4... guess it gives the Joomla devs a snigger when yet another pointless change is missed...  ::)
Title: Re: isAdmin() bug in Horme_3 template
Post by: Milbo on June 27, 2022, 11:32:31 AM
Horme3 is BS3 and not for j4.