Bug #39577
PHP Warning in new beuser module
| 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
Associated revisions
[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
[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
[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
Applied in changeset 4416aa76c794cfb37dc9c6da8c80f9b9d2ae24cd.