// ------------------------------------- <br />// Make sure there is a subject and body <br />$Subject = rtrim($Subject); <br />if ( (preg_match("/^\s*$/",$Subject)) || ($postername == "") ) { <br /> $html -> not_right($ubbt_lang['ALL_FIELDS'],$Cat); <br />} <br /> <br />// ----------------------------------------------- <br />// If we are adding a poll the body could be blank <br />$Body = rtrim($Body); <br />if ( (!$addpoll && !$questions) && preg_match("/^s*$/",$Body)) { <br /> $html -> not_right($ubbt_lang['ALL_FIELDS'],$Cat);