Topic on Extension talk:PrivatePageProtection

Jump to navigation Jump to search
81.214.120.251 (talkcontribs)

Open PrivatePageProtection.php

under the function:

  function privateppGetAccessError( $groups, $user ) {

under line 115:

  if ( is_string( $groups ) ) $groups = explode('|', $groups);

add

  if(! is_string( $groups ) && strpos($groups[0], '|') !== false)  $groups = explode('|', $groups[0]);


then the extension works fine.

92.249.219.204 (talkcontribs)

Awesome, worked. Cheers

Reply to "Bug Resolved"