Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
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.