[BUGFIX] linkvalidator: Add headline fallback to prevent NULL on insert 39/35539/3
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:24:47 +0000 (12:24 +0100)
commite82a7638e2d6d998954a6b8b1024f3bf7a2a3348
tree431afbd36fe31bb9407af223d9bf1136f5846976
parentfd7027708028a8da03e11ea26c20c4a2293ef840
[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>
typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php