silverstripe/sapphire — pull request #714 by tractorcow (2012-08-09 03:07:55+00:00)
Title: FIXED: Uninitialised variable in GridFieldAddExistingAutocompleter

Variable $dataClass was not correctly initialised in the GridFieldAddExistingAutocompleter::doSearch function due to a previous refactor. Reinstated initialisation and removed unused variable with a little cleanup.