Page Index Toggle Pages: 1
Topic Tools
Normal Topic No Subject error in ModifyMessage (Read 535 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,434
Location: Earth

YaBB 2.6.1
No Subject error in ModifyMessage
Feb 18th, 2013 at 1:42am
Post Tools
When attempting to modify a message, the Warning 'No subject' appears when trying to save.

The cause, no default maximum Subject length when $set_subjectMaxLength is set to 0.

solution: In ModifyMessage.pl find
Code
Select All
require "$sourcedir/SpamCheck.pl";
 



add after:
Code
Select All
$set_subjectMaxLength ||= 50; 



The revised file is here
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top