There's a bug in inner-type 'viewlevel'

pred 10 rokmi 2 mesiacmi - pred 10 rokmi 2 mesiacmi #315 od 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.
Posledný krát upravené:pred 10 rokmi 2 mesiacmi worm

Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.

Čas vytvorenia stránky: 0.050 sekúnd
Funguje na Kunena fórum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.