Your if check can result of a php notice because not logged in users have no roles and in that case $user->roles[0] will output notice: ...
確定! 回上一頁