[BUGFIX] Call callUserFunction with dummy-parameter as 3rd argument
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 21 Nov 2011 00:50:13 +0000 (01:50 +0100)
committerOliver Hader <oliver@typo3.org>
Mon, 21 Nov 2011 21:11:52 +0000 (22:11 +0100)
commit6793a4c661ff59070529cbf527e014d4c5704dfa
treefac0f89c4003a37e8e3aa16ce67ed76fecf6e8b3
parentedeecfb4f3ff1dd0560b8aa31c1437bce6980738
[BUGFIX] Call callUserFunction with dummy-parameter as 3rd argument

t3lib_div::callUserFunction() wants to use 3rd argument by
reference. Passing NULL directly there results in an error
But a dummy-variable can be passed (as done in other places
in the core, for example t3lib/class.t3lib_befunc.php).

Change-Id: I4ea437116aecfbb4e28cc09c744aa552e7c6ae94
Fixes: #27800
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/6758
Reviewed-by: Marco Bresch
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/workspaces/Classes/Service/Workspaces.php