silverstripe/silverstripe-framework — pull request #3102 by ss23 (2014-05-05 07:26:14+00:00)
Title: MINOR LeftAndMain::getRecord check $ClassName before use

While the check for `$classname` was done in the first conditional, it was left out of the other two, leading to potential issues when an invalid ID was given, instead of the expected `false`.