[BUGFIX] Call callUserFunction with dummy-parameter as 3rd argument
[Packages/TYPO3.CMS.git] / typo3 / sysext / workspaces / Classes / Service / Workspaces.php
index 4c05e7e..8365b5b 100644 (file)
@@ -550,7 +550,8 @@ class Tx_Workspaces_Service_Workspaces implements t3lib_Singleton {
                        if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['workspaces']['viewSingleRecord'])) {
                                $_params = array('table' => $table, 'uid' => $uid, 'record' => $record);
                                $_funcRef = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['workspaces']['viewSingleRecord'];
-                               $viewUrl = t3lib_div::callUserFunction($_funcRef, $_params, NULL);
+                               $null = NULL;
+                               $viewUrl = t3lib_div::callUserFunction($_funcRef, $_params, $null);
                        }
                }
                return $viewUrl;