Fixed php notice

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39160 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-07-23 23:00:11 +00:00
parent 4f6a8736e2
commit 940fc3fc65

View File

@ -704,7 +704,7 @@ class DataObject extends Controller {
break; break;
} }
} }
if(!$joinField) { if(!isset($joinField)) {
$joinField = 'ParentID'; $joinField = 'ParentID';
} }