There's a bug in inner-type 'viewlevel'
worm
Yeni Üye
Posts: 1
10 yıl 2 ay önce - 10 yıl 2 ay önce #315
Yazan: worm
There's a bug in inner-type 'viewlevel', worm tarafından oluşturuldu
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.
Son Düzenleme: 10 yıl 2 ay önce Düzenleyen:worm
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Sayfa oluşturma süresi: 0.046 saniye