diff --git a/ContentModel.inc b/ContentModel.inc index 4650d1ad..c82baf89 100644 --- a/ContentModel.inc +++ b/ContentModel.inc @@ -2038,6 +2038,7 @@ class ContentModel extends XMLDatastream { if (!$this->validate()) { return FALSE; } + $names = FALSE; $result = $this->xpath->query('//cm:forms/cm:form/@name'); // Select the name attribute of all forms. for($i = 0; $i < $result->length; $i++) { $attribute = $result->item($i);