[BUGFIX] Initialize $currentR in analyseTypoLinks
authorBjoern Pedersen <bjoern.pedersen@frm2.tum.de>
Sat, 24 Sep 2011 13:41:21 +0000 (15:41 +0200)
committerPhilipp Gampe <forge.typo3.org@philippgampe.info>
Sat, 24 Sep 2011 13:41:21 +0000 (15:41 +0200)
commit0b757d551a4541c2b3bdd2c4a7cadb068731e7db
treea6f3861f804e0d930d530fe568b2a87e64e22e10
parent95ecf8ddd1e82208b46e8cdedc00fcede70c9ea5
[BUGFIX] Initialize $currentR in analyseTypoLinks

There are pathes through analyseTypoLinks where currentR is
not set, it can happen that the fetchType hook gets
called with currentR=null.

This throws an API error as the fetchType interface
requires the first arg to be an array.

Change-Id: Ic124938c8744c8ef412013499ad368e5b7966d9f
Resolves: #30043
Releases: 4.6
Reviewed-on: http://review.typo3.org/5097
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/linkvalidator/classes/class.tx_linkvalidator_processor.php