[BUGFIX] linkvalidator: Add headline fallback to prevent NULL on insert 88/35688/2
authorBenjamin Serfhos <serfhos@gmail.com>
Wed, 17 Dec 2014 11:45:56 +0000 (12:45 +0100)
committerBenjamin Mack <benni@typo3.org>
Wed, 31 Dec 2014 11:25:08 +0000 (12:25 +0100)
commit30c08cde7bc50761ee12f256924d0897210e3ad0
treeb5697884793fe862271d9e2c3c409c6278edca79
parentf86bb3664c49090efdf366aa7bba7387af5699a0
[BUGFIX] linkvalidator: Add headline fallback to prevent NULL on insert

While link checker adds the broken links in the database the content
element can have an empty header. Make sure the inserted record does
not fail of empty headline.

Change-Id: I9cd750a278fd514f6154659c9c8466c2713adfe7
Resolves: #63952
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35539
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
(cherry picked from commit e82a7638e2d6d998954a6b8b1024f3bf7a2a3348)
Reviewed-on: http://review.typo3.org/35688
typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php