--- ActionTask.php.orig 2015-04-10 11:50:25.328768320 -0400 +++ ActionTask.php 2015-04-10 16:00:39.979736375 -0400 @@ -259,6 +259,13 @@ // Load BE user to edit if ((int)GeneralUtility::_GP('be_users_uid') > 0) { $tmpUserId = (int)GeneralUtility::_GP('be_users_uid'); + } elseif( $key != 'NEW' ) { + // This takes the $key value returned by saveNewBackendUser() function. + $tmpUserId = $key; + } else { + $tmpUserId = null; + } + if( isset( $tmpUserId ) ){ // Check if the selected user is created by the current user $rawRecord = $this->isCreatedByUser($tmpUserId, $record); if ($rawRecord) { @@ -273,7 +280,7 @@ $this->JScode(); $loadDB = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Database\\RelationHandler'); $loadDB->start($vars['db_mountpoints'], 'pages'); - $content .= '