Thread:Extension talk:PrivatePageProtection/Wrong vartype on db result

Hello Duesentrieb,

there is a bug in your actual code. The db result from privateppGetAllowedGroups returns as an array, but the calling methods expect a string. After fixing this problem (return $result[0] instead of return $result), the extension runs fine.