Bug #39577

PHP Warning in new beuser module

Added by Georg Ringer 10 months ago. Updated 10 months ago.

Status:Resolved Start date:2012-08-07
Priority:Should have Due date:
Assignee:Georg Ringer % Done:

100%

Category:Code Cleanup
Target version:6.0.0
TYPO3 Version:6.0 Complexity:no-brainer
PHP Version:
Votes: 0

Description

with the new be module I get the php warning

PHP Warning: array_keys() expects parameter 1 to be array, null given in C:\xampp\htdocs\currenttrunk\typo3\sysext\beuser\Classes\Domain\Model\ModuleData.php line 70


Related issues

related to Core - Feature #39141: Migrate EXT: beuser to extbase Resolved 2012-07-20

Associated revisions

Revision 4416aa76
Added by Georg Ringer 10 months ago

[BUGFIX] Fix PHP warning in EXT:beuser

Initialize moduleData compareUserList as array to
not trigger a warning if method getCompareUserList array_keys()
is called for the first time on a not previously initialized
data object.

Change-Id: Ic80df4937bb7e74a6ba27697791cfd7c0d7a2d54
Resolves: #39577
Releases: 6.0
Reviewed-on: http://review.typo3.org/13492
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

Revision e2aabbff
Added by Georg Ringer 10 months ago

[BUGFIX] Fix PHP warning in EXT:beuser

Initialize moduleData compareUserList as array to
not trigger a warning if method getCompareUserList array_keys()
is called for the first time on a not previously initialized
data object.

Change-Id: Ic80df4937bb7e74a6ba27697791cfd7c0d7a2d54
Resolves: #39577
Releases: 6.0
Reviewed-on: http://review.typo3.org/13492
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

Revision 16073701
Added by Georg Ringer 9 months ago

[BUGFIX] Fix PHP warning in EXT:beuser

Initialize moduleData compareUserList as array to
not trigger a warning if method getCompareUserList array_keys()
is called for the first time on a not previously initialized
data object.

Change-Id: Ic80df4937bb7e74a6ba27697791cfd7c0d7a2d54
Resolves: #39577
Releases: 6.0
Reviewed-on: http://review.typo3.org/13492
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

History

Updated by Gerrit Code Review 10 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13492

Updated by Gerrit Code Review 10 months ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13492

Updated by Georg Ringer 10 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF