Topic on Extension talk:PrivatePageProtection

Wrong vartype on db result

1
84.137.111.76 (talkcontribs)

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.

Reply to "Wrong vartype on db result"