![]() |
Adding usergroup permissions via hook
PHP Code:
It works fine adding the permission, but when I change it and save the usergroup permissions I get the following warning before refreshing the results page back to the usergroup listing: Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 648 It also still updates the correct results into mysql. But why is it giving that warning? |
<a href="https://vborg.vbsupport.ru/showthread.php?t=82844" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=82844</a>
|
That's what I was doing before, but I wanted to change to using a plugin instead of a file to add the permission group to the usergroup edit page.
|
All times are GMT. The time now is 07:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|