[BUGFIX] Catch possible NULL values to avoid exception 87/36787/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 10 Feb 2015 08:16:34 +0000 (09:16 +0100)
committerAlexander Opitz <opitz.alexander@googlemail.com>
Tue, 10 Feb 2015 08:42:37 +0000 (09:42 +0100)
commitbad5c5b79a96b7e4c4648445a031e5b8560d6041
tree83f7d7b5d0b93512b6ab9052537a4a9105609b63
parent72b3897ad496c146ce7cbe6dba20a23d86feb7d1
[BUGFIX] Catch possible NULL values to avoid exception

If references are not maintained properly, all reference information
may be NULL or empty string (depending on it's type). Catch NULL values
and return early.

Resolves: #64955
Releases: master, 6.2
Change-Id: Id525e011f7b70190bc8f1f0c27e8c4b091325304
Reviewed-on: http://review.typo3.org/36787
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php