Empty Discussion, how to make it work ?
Hi,
I'de like to post a new discussion with a title and an attachment without a word in the discussion, does anyone knows how can i do that ?
I've tried modifying the Framework.Class.SqlBuilder.php file at
while (list($name, $value) = each($this->FieldValues)) {
if ($Fields != "") {
$Fields .= ", ";
$Values .= ", ";
}
but i does not work,
thank's !
0
This discussion has been closed.
Comments
$ResultComment = $cm->SaveComment($this->Comment, 1);
Note the only thing that has changed is adding , 1.
This will then allow blank messages everywhere... there are some delegates around this point that you could presumably attach to and skip the validation depending on if there is an attachment.