mirror of https://github.com/BOINC/boinc.git
web: fix a couple of PHP warnings
This commit is contained in:
parent
93f7def3fa
commit
514a132bfc
|
@ -397,8 +397,7 @@ function show_user_summary_public($user) {
|
|||
if ($user->donated == 1) {
|
||||
if (file_exists("../project/donations.inc")) {
|
||||
require_once("../project/donations.inc");
|
||||
$x .= DONATION_LINK;
|
||||
row2(tra("Donor"), $x);
|
||||
row2(tra("Donor"), DONATION_LINK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,7 +76,7 @@ page_head(tra("%1 Message boards", PROJECT));
|
|||
|
||||
show_forum_header($user);
|
||||
|
||||
if (FORUM_QA_MERGED_MODE === true){
|
||||
if (defined('FORUM_QA_MERGED_MODE') && FORUM_QA_MERGED_MODE){
|
||||
$categories = BoincCategory::enum("true order by orderID");
|
||||
} else {
|
||||
echo "<p>"
|
||||
|
|
Loading…
Reference in New Issue