[BUGFIX] Don't show new button when adding a new record 06/60506/2
authorBenni Mack <benni@typo3.org>
Wed, 17 Apr 2019 21:49:02 +0000 (23:49 +0200)
committerSusanne Moog <look@susi.dev>
Thu, 18 Apr 2019 14:33:22 +0000 (16:33 +0200)
commit8428787713a841a2e03a075091741f6facd55b84
tree839a50634c1599a7b7bbfdd4ba9cae7d39232274
parentd06dee7effac635fa28beb7481c2478594ee8d01
[BUGFIX] Don't show new button when adding a new record

As there is no "pid" available, the new button on new
records should not be shown.

Resolves: #87721
Releases: master, 9.5
Change-Id: Ie3521882e38f031d3362de841351b058faed9521
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60506
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Josef Glatz <josefglatz@gmail.com>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Josef Glatz <josefglatz@gmail.com>
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php