Quote:
Originally Posted by EFFx
It means if the user is not Admin
PHP Code:
!!(g_admin[id])
It means If is user Admin
It just mean the opposite. Am I right?
|
That entirely depends on what
g_admin[id] contains. If it is user flags then no, that will not work. You should always use is_user_admin() if you want to know if they are an admin (unless, of course, you fully understand how flags work and you need something different than is_user_admin() provides).
__________________