avandenberghe / bbguild

Guild manager for phpBB 3.2
https://www.avathar.be
GNU General Public License v2.0
3 stars 0 forks source link

ACP - Achievement list error #299

Open OldBlacky opened 7 years ago

OldBlacky commented 7 years ago

Description:

When trying to open ACP - BBGUILD - Achievement List after i've added the achievements by API call i get a blank screen when viewing the page .

In the Apache log file i see the following error:

PHP Fatal error: Unsupported operand types in phpbb/pagination.php on line 301

After analyzing the calls of the function "public function on_page()" i found the following in acp/achievement_module.php line 265:

'PAGE_NUMBER' => $pagination->on_page($GuildAchievements[0], 15,

I believe the index of $GuildAchievements[] should be 2 in this case.

Specifications

Galixte commented 7 years ago

Hi @Sajaki,

could you take a look, please ?