Topic on Extension talk:PrivatePageProtection

Jump to navigation Jump to search

Wrong vartype on db result

1 (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"