board3 / Board3-Portal

Adds a portal with several blocks, which can be switched on and off via the ACP, to the front page of your phpBB 3 forums.
http://www.board3.de
GNU General Public License v2.0
30 stars 22 forks source link

custom.php line 310 Send an integer instead of a string #713

Closed HDValentin closed 3 years ago

HDValentin commented 4 years ago

Fix for the problem with blocks: "if you make a custom block in acp then go to edit it you get this [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 789: A non-numeric value encountered [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 790: A non-numeric value encountered [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 791: A non-numeric value encountered php version 7.1 phpbb 3.2.5 portal version latest github version

block does work though and can be edited error is only displayed in acp when editing the custom block" https://github.com/board3/Board3-Portal/issues/711#issue-415859055

The Problem is mentioned here: https://github.com/board3/Board3-Portal/issues/711#issuecomment-586791989

Change is made here https://github.com/Sajaki/Board3-Portal/pull/3/files

marc1706 commented 3 years ago

Thanks for the PR, the fix was already applied in the latest version of master though.