mirror of https://github.com/BOINC/boinc.git
user web: fix forum preferences saving (empty signatures were not allowed).
svn path=/trunk/boinc/; revision=15566
This commit is contained in:
parent
4d3dd2cdab
commit
f9a7648ec4
|
@ -5515,3 +5515,11 @@ Charlie 8 July 2008
|
|||
ViewProjects.cpp
|
||||
ViewTransfers.cpp
|
||||
ViewWork.cpp
|
||||
|
||||
Rytis 8 July 2008
|
||||
- user web: fix forum preferences saving (empty signatures were not
|
||||
allowed).
|
||||
|
||||
html/user/
|
||||
edit_forum_preferences_action.php
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ $no_signature_by_default = ($_POST["signature_by_default"]!="")?0:1;
|
|||
$pm_notification = post_int("pm_notification");
|
||||
//$low_rating_threshold = post_int("forum_low_rating_threshold");
|
||||
//$high_rating_threshold = post_int("forum_high_rating_threshold");
|
||||
$signature = post_str("signature");
|
||||
$signature = post_str("signature", true);
|
||||
if (strlen($signature)>250) {
|
||||
error_page(
|
||||
"Your signature was too long, please keep it less than 250 chars"
|
||||
|
|
Loading…
Reference in New Issue