?
avatar brainforgeUK
brainforgeUK
18 Aug 2017

Steps to reproduce the issue

Goto
.../administrator/index.php?option=com_modules

In Search tools select menu type

Expected result

Actual result

Warning shown in log / on screen (depending on php settings)
Warning: str_repeat(): Second argument has to be greater than or equal to 0 in W:\webserver\htdocs\Daniel\springs-aquatic.co.uk\libraries\cms\form\field\menuitem.php on line 234

System information (as much as possible)

PHP 7.0.5
Joomla 3.7.4

Additional comments

avatar brainforgeUK brainforgeUK - open - 18 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Aug 2017
avatar brianteeman
brianteeman - comment - 19 Aug 2017

Confirmed

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Aug 2017
Status New Confirmed
avatar zero-24
zero-24 - comment - 20 Aug 2017

hmm looks like we need a special case for $link->level === 0 ?

here: https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Form/Field/MenuitemField.php#L238

avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Aug 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-08-24 05:03:36
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 24 Aug 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 24 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Aug 2017

closed as havin Pull Request #17693


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17606.

Add a Comment

Login with GitHub to post a comment