There's a bug in inner-type 'viewlevel'
worm
Nouveau membre
Posts: 1
il y a 10 ans 3 mois - il y a 10 ans 3 mois #315
par worm
There's a bug in inner-type 'viewlevel' a été créé par worm
I created a com called com_classes with cc, and find a funny problem.
I use it at the admin-view,but unexpectedly the field 'viewlevel' displayed a 'usergroup' infact.
After checking the code, I find this row in the main model file of the component,which is obviously wrong
$query->join('LEFT', '#__usergroups AS access ON access.id = a.access'); (row 120)
So I changed it into #__viewlevels and solved the problem.
I think you should know this and change it.
BTW,I'm using v2.5.
I use it at the admin-view,but unexpectedly the field 'viewlevel' displayed a 'usergroup' infact.
After checking the code, I find this row in the main model file of the component,which is obviously wrong
$query->join('LEFT', '#__usergroups AS access ON access.id = a.access'); (row 120)
So I changed it into #__viewlevels and solved the problem.
I think you should know this and change it.
BTW,I'm using v2.5.
Dernière édition: il y a 10 ans 3 mois par worm.
Connexion ou Créer un compte pour participer à la conversation.
Temps de génération de la page : 0.047 secondes