DevFuse Products (View All Products)
Issue information
-
#000578
-
Issue
-
0 - None Assigned
-
Fixed
-
2.2.2
-
2.3.0
Issue Confirmations
-
Yes (0)No (0)
Michael,
Would you mind giving us a fix for this???
Thanks
Would you mind giving us a fix for this???
Thanks
Untested, try this.
Open admin/applications_addon/other/videos/modules_public/post/comment.php
Find:
Add ABOVE:
Save.
Open admin/applications_addon/other/videos/modules_public/post/comment.php
Find:
$video_comment = $editor->process( $_POST['comment'] );
Add ABOVE:
if( !$_POST['comment'] )
{
$this->registry->output->showError( 'Please go back and add a comment.' );
}
Save.
Thank u. Fixed
It would actually be this:
You have to remove the "!" from - if( !$_POST['comment'] ) since its trying to validate the comment string of:
$video_comment = $editor->process( $_POST['comment'] );
if( $_POST['comment'] )
{
$this->registry->output->showError( 'Please go back and add a comment.' );
}
You have to remove the "!" from - if( !$_POST['comment'] ) since its trying to validate the comment string of:
$video_comment = $editor->process( $_POST['comment'] );
I'm not sure I understand, that code would show the error if there was a comment?
Im just saying when I put your code in it was not working it would be the same then i tried my method and it worked out for me. But that's only in theory. I don' know if it would work for others. Just use ur method
0 user(s) are reading this issue
0 members, 0 guests, 0 anonymous users



Michael








