This website works better with JavaScript.
Home
Help
Sign In
KXStudio
/
Website
mirror of
https://github.com/KXStudio/Website
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix DB connect
pull/12/head
falkTX
7 years ago
parent
5bf9547b02
commit
ba472ac302
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
DonationsStats.php
+ 3
- 1
DonationsStats.php
View File
@@ -14,7 +14,9 @@ $total_ever = 0.0;
function print_donation_year($year) {
if ($db_link == false) {
global $db_link;
if ($db_link === false) {
echo '<tr><td colspan="6">DB connection failed</td></tr>';
return;
}
Write
Preview
Loading…
Cancel
Save